mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
threads is now reqiured for examples
This commit is contained in:
parent
12f8f046cc
commit
c3c08df787
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue
Block a user