1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-31 13:37:45 +00:00

fix boost static lib cmake find

This commit is contained in:
Maru 2018-06-06 15:20:23 -03:00
parent 6c7b40eb8c
commit 51924a70ef
2 changed files with 11 additions and 5 deletions

View file

@ -19,7 +19,13 @@ set( LIBRARY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/libraries" )
########################################################################## ##########################################################################
# Dependencies and compiler settings # Dependencies and compiler settings
#include( "cmake/boost.cmake" )
if( NOT SAPPHIRE_BOOST_VER )
set( SAPPHIRE_BOOST_VER 1.63.0 )
endif()
set( SAPPHIRE_BOOST_FOLDER_NAME boost_1_63_0 )
include( "cmake/boost.cmake" )
#include( "cmake/mysql.cmake" ) #include( "cmake/mysql.cmake" )
include( "cmake/compiler.cmake" ) include( "cmake/compiler.cmake" )
include( "cmake/cotire.cmake" ) include( "cmake/cotire.cmake" )

View file

@ -67,7 +67,7 @@
"variables": [ "variables": [
{ {
"name": "Boost_COMPILER", "name": "Boost_COMPILER",
"value": "-vc141" "value": "-vc140"
} }
] ]
}, },
@ -81,7 +81,7 @@
"variables": [ "variables": [
{ {
"name": "Boost_COMPILER", "name": "Boost_COMPILER",
"value": "-vc141" "value": "-vc140"
} }
] ]
}, },
@ -95,7 +95,7 @@
"variables": [ "variables": [
{ {
"name": "Boost_COMPILER", "name": "Boost_COMPILER",
"value": "-vc141" "value": "-vc140"
} }
] ]
}, },
@ -109,7 +109,7 @@
"variables": [ "variables": [
{ {
"name": "Boost_COMPILER", "name": "Boost_COMPILER",
"value": "-vc141" "value": "-vc140"
} }
] ]
} }