Fix issue with building tests with static library
This commit is contained in:
parent
0695bfb72c
commit
baaec5dfec
@ -25,6 +25,7 @@ if(ENABLE_SHARED)
|
|||||||
else()
|
else()
|
||||||
add_library(rexy STATIC ${SOURCE_LIST})
|
add_library(rexy STATIC ${SOURCE_LIST})
|
||||||
set(LIBREXY_LIBFLAGS "-lrexy -lpthread")
|
set(LIBREXY_LIBFLAGS "-lrexy -lpthread")
|
||||||
|
target_link_libraries(rexy "-lpthread")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_PROFILING)
|
if(ENABLE_PROFILING)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user