mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-24 13:47:46 +00:00
Merge pull request #258 from ShelbyZ/actor_rewrite_minor_cmake_changes
Minor updates for actor_rewrite branch
This commit is contained in:
commit
13c2dec004
2 changed files with 7 additions and 3 deletions
|
@ -14,10 +14,10 @@ if(UNIX)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
||||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../src/libraries/external/${SAPPHIRE_BOOST_FOLDER_NAME})
|
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/libraries/external/${SAPPHIRE_BOOST_FOLDER_NAME})
|
||||||
message(STATUS "Using boost in /libraries/external")
|
message(STATUS "Using boost in /libraries/external")
|
||||||
set(Boost_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../src/libraries/external/${SAPPHIRE_BOOST_FOLDER_NAME})
|
set(Boost_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/libraries/external/${SAPPHIRE_BOOST_FOLDER_NAME})
|
||||||
set(BOOST_LIBRARYDIR ${CMAKE_CURRENT_SOURCE_DIR}/../src/libraries/external/${SAPPHIRE_BOOST_FOLDER_NAME}/lib32-msvc-14.0)
|
set(BOOST_LIBRARYDIR ${CMAKE_CURRENT_SOURCE_DIR}/src/libraries/external/${SAPPHIRE_BOOST_FOLDER_NAME}/lib32-msvc-14.0)
|
||||||
else()
|
else()
|
||||||
find_package(Boost ${SAPPHIRE_BOOST_VER} COMPONENTS system)
|
find_package(Boost ${SAPPHIRE_BOOST_VER} COMPONENTS system)
|
||||||
if(Boost_FOUND)
|
if(Boost_FOUND)
|
||||||
|
|
|
@ -21,6 +21,10 @@ else()
|
||||||
# incremental linking
|
# incremental linking
|
||||||
message(STATUS "Enabling Incremental Linking..")
|
message(STATUS "Enabling Incremental Linking..")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /INCREMENTAL")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /INCREMENTAL")
|
||||||
|
|
||||||
|
# enable building with multiple processes
|
||||||
|
message(STATUS "Enabling Build with Multiple Processes..")
|
||||||
|
add_definitions(/MP)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue