threads is now reqiured for examples

This commit is contained in:
ThePhD 2019-08-15 02:35:49 -04:00
parent 12f8f046cc
commit c3c08df787
No known key found for this signature in database
GPG Key ID: 1509DB1C0F702BFA

View File

@ -100,7 +100,7 @@ function (MAKE_EXAMPLE example_source_file example_suffix target_sol)
endif()
target_link_libraries(${example_name}
PRIVATE ${target_sol} ${LUA_LIBRARIES} sol2::assert)
PRIVATE Threads::Threads ${target_sol} ${LUA_LIBRARIES} sol2::assert)
if(CMAKE_DL_LIBS)
target_link_libraries(${example_name} PRIVATE ${CMAKE_DL_LIBS})