From 3c6c1396e6466cced748a7e13ddbcf09693163e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Mon, 28 Feb 2022 09:01:22 +0100 Subject: [PATCH] add findThread in cmake --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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} -- 2.47.3