mirror of https://github.com/BOINC/boinc.git
Fix wrappture_example build
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
0edaa7d12a
commit
ed3747db5c
|
@ -91,8 +91,13 @@ add_library(rappture ${SRC_RAPPTURE_CORE})
|
|||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/core/)
|
||||
|
||||
find_package(EXPAT REQUIRED)
|
||||
target_link_libraries(rappture PRIVATE EXPAT::EXPAT)
|
||||
find_package(expat CONFIG REQUIRED)
|
||||
|
||||
if(WIN32 AND NOT MINGW)
|
||||
target_link_libraries(rappture PRIVATE expat::libexpat)
|
||||
else()
|
||||
target_link_libraries(rappture PRIVATE expat::expat)
|
||||
endif()
|
||||
|
||||
install(TARGETS rappture
|
||||
RUNTIME DESTINATION bin
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<Culture>0x0409</Culture>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>rappture.lib;expat.lib;libcmt.lib;libcpmt.lib;zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>rappture.lib;libexpatMD.lib;libcmt.lib;libcpmt.lib;zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
||||
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
|
@ -141,7 +141,7 @@
|
|||
<Culture>0x0409</Culture>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>rappture.lib;expat.lib;libcmtd.lib;libcpmtd.lib;kernel32.lib;user32.lib;gdi32.lib;ole32.lib;zlibd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>rappture.lib;libexpatdMD.lib;libcmtd.lib;libcpmtd.lib;kernel32.lib;user32.lib;gdi32.lib;ole32.lib;zlibd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
||||
<DelayLoadDLLs>%(DelayLoadDLLs)</DelayLoadDLLs>
|
||||
|
|
Loading…
Reference in New Issue