mirror of
https://github.com/Naios/continuable.git
synced 2026-02-17 07:39:49 +08:00
linker fix
This commit is contained in:
parent
96a5c614b7
commit
e78aef1570
@ -28,6 +28,10 @@ if(CMAKE_BUILD_TOOL MATCHES "(msdev|devenv|nmake)")
|
|||||||
add_definitions(-Wall -Wextra)
|
add_definitions(-Wall -Wextra)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT WIN32)
|
||||||
|
find_package (Threads)
|
||||||
|
endif()
|
||||||
|
|
||||||
file(GLOB_RECURSE LIB_SOURCES include/*.cpp include/*.hpp include/*.h)
|
file(GLOB_RECURSE LIB_SOURCES include/*.cpp include/*.hpp include/*.h)
|
||||||
add_library(continue STATIC ${LIB_SOURCES})
|
add_library(continue STATIC ${LIB_SOURCES})
|
||||||
|
|
||||||
@ -39,4 +43,5 @@ add_executable(continue_test ${TEST_SOURCES})
|
|||||||
|
|
||||||
target_link_libraries(continue_test
|
target_link_libraries(continue_test
|
||||||
continue
|
continue
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user