File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,12 @@ if(MSVC)
7777 to_dos_separator(MSBUILD_QWK_INSTALL_LIBDIR)
7878 to_dos_separator(MSBUILD_QWK_INSTALL_INCDIR)
7979
80+ if (QWINDOWKIT_BUILD_STATIC)
81+ set (MSBUILD_QWK_STATIC_MACRO
82+ "<PreprocessorDefinitions>QWK_CORE_STATIC;QWK_WIDGETS_STATIC;QWK_QUICK_STATIC</PreprocessorDefinitions>"
83+ )
84+ endif ()
85+
8086 configure_file (${CMAKE_CURRENT_LIST_DIR} /msbuild/QWindowKit.props.in
8187 ${_build_data_dir} /msbuild/QWindowKit.props
8288 @ONLY
Original file line number Diff line number Diff line change 1515 <AdditionalDependencies Condition =" '$(Configuration)'=='Release'" >@MSBUILD_QWK_LIBRARY_LIST_RELEASE@;%(AdditionalDependencies);</AdditionalDependencies >
1616 </Link >
1717 </ItemDefinitionGroup >
18+ <PropertyGroup >
19+ @MSBUILD_QWK_STATIC_MACRO@
20+ </PropertyGroup >
1821</Project >
You can’t perform that action at this time.
0 commit comments