mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:45:27 +00:00
Remove hack for adding a libpath flag in visual studio by requiring extra libraries from boost.
This commit is contained in:
parent
37d8cc797c
commit
f1e502c8f5
|
@ -15,9 +15,9 @@ ADD_EXECUTABLE(
|
|||
|
||||
# Make sure that if we're using boost libraries for threading then we add this linker path.
|
||||
# Personally, I believe this is a bug in CMAKE but I'm not exactly sure.
|
||||
IF( THREAD_API MATCHES "Boost" )
|
||||
SET_TARGET_PROPERTIES(tc PROPERTIES LINK_FLAGS "/LIBPATH:\"${Boost_LIBRARY_DIRS}\"")
|
||||
ENDIF()
|
||||
#IF( THREAD_API MATCHES "Boost" )
|
||||
# SET_TARGET_PROPERTIES(tc PROPERTIES LINK_FLAGS "/LIBPATH:\"${Boost_LIBRARY_DIRS}\"")
|
||||
#ENDIF()
|
||||
|
||||
TARGET_LINK_LIBRARIES( tc BPTCEncoder )
|
||||
TARGET_LINK_LIBRARIES( tc TexCompIO )
|
||||
|
|
|
@ -39,7 +39,8 @@ INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/Core/include )
|
|||
SET( THREAD_API )
|
||||
SET( THREAD_APIS_AVAILABLE "None" )
|
||||
|
||||
FIND_PACKAGE( Boost COMPONENTS thread system )
|
||||
SET( Boost_USE_STATIC_LIBS ON )
|
||||
FIND_PACKAGE( Boost COMPONENTS thread system date_time chrono )
|
||||
IF( Boost_FOUND )
|
||||
|
||||
SET( THREAD_APIS_AVAILABLE "Boost" ${THREAD_APIS_AVAILABLE} )
|
||||
|
|
Loading…
Reference in a new issue