diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-02-28 09:01:22 +0100 |
|---|---|---|
| committer | j-p <jp_bruyere@hotmail.com> | 2022-05-28 14:30:46 +0200 |
| commit | 3c6c1396e6466cced748a7e13ddbcf09693163e7 (patch) | |
| tree | a1aed4fe324255d0f2dc3021a83518cf7b6c65b6 | |
| parent | a4bdce27a7c905ba8d3fbfe9d798c7984ca9eb5e (diff) | |
add findThread in cmake
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 831dbee..acb921e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,7 @@ IF (ENABLE_VALIDATION) ENDIF () FIND_PACKAGE(Vulkan REQUIRED) +FIND_PACKAGE(Threads REQUIRED) INCLUDE(GNUInstallDirs) @@ -82,6 +83,7 @@ FUNCTION (setup_lib LibName) TARGET_LINK_LIBRARIES("${LibName}" PUBLIC ${Vulkan_LIBRARIES} + Threads::Threads ) INSTALL(TARGETS "${LibName}" LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |