Fix issue with building tests with static library

This commit is contained in:
rexy712 2021-04-11 15:13:38 -07:00
parent 0695bfb72c
commit baaec5dfec

View File

@ -25,6 +25,7 @@ if(ENABLE_SHARED)
else()
add_library(rexy STATIC ${SOURCE_LIST})
set(LIBREXY_LIBFLAGS "-lrexy -lpthread")
target_link_libraries(rexy "-lpthread")
endif()
if(ENABLE_PROFILING)