mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Add Boost_USE_STATIC_LIBS parameter for Windows
If this parameter is not set in windows, cmake expects boost libraries to be named "boost_*.lib", while they are actually "libboost_*.lib" In findBoost.cmake (728): # Setting some more suffixes for the library set (Boost_LIB_PREFIX "") if (WIN32 AND Boost_USE_STATIC_LIBS AND NOT CYGWIN) set(Boost_LIB_PREFIX "lib") endif()
This commit is contained in:
parent
978b5f64d8
commit
35c3a0a3f9
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ set(OPENMW_LIBS_HEADER)
|
|||
|
||||
# Platform specific
|
||||
if (WIN32)
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
set(PLATFORM_INCLUDE_DIR "platform")
|
||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||
else (WIN32)
|
||||
|
|
Loading…
Reference in a new issue