mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 02:24:22 +01:00
Add boost libraries for windows.
This commit is contained in:
parent
6d85bc9467
commit
f4629fa35a
@ -39,6 +39,13 @@ INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
|||||||
SET( THREAD_API )
|
SET( THREAD_API )
|
||||||
SET( THREAD_APIS_AVAILABLE "None" )
|
SET( THREAD_APIS_AVAILABLE "None" )
|
||||||
|
|
||||||
|
###### Find Boost...
|
||||||
|
|
||||||
|
IF( MSVC )
|
||||||
|
SET(ENV{BOOSTLIBDIR} "${MSVC_LIB_DIR}")
|
||||||
|
SET(ENV{BOOSTINCLUDEDIR} "${MSVC_INSTALL_PATH}/include")
|
||||||
|
ENDIF( MSVC )
|
||||||
|
|
||||||
SET( Boost_USE_STATIC_LIBS ON )
|
SET( Boost_USE_STATIC_LIBS ON )
|
||||||
FIND_PACKAGE( Boost COMPONENTS thread system date_time chrono )
|
FIND_PACKAGE( Boost COMPONENTS thread system date_time chrono )
|
||||||
IF( Boost_FOUND )
|
IF( Boost_FOUND )
|
||||||
@ -50,6 +57,8 @@ IF( Boost_FOUND )
|
|||||||
|
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
###### Find PThreads....
|
||||||
|
|
||||||
FIND_PACKAGE( Threads )
|
FIND_PACKAGE( Threads )
|
||||||
IF( CMAKE_USE_PTHREADS_INIT )
|
IF( CMAKE_USE_PTHREADS_INIT )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user