From a46140c1529062d76d5a0155d551fa584fc766d2 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Fri, 20 Jan 2023 22:43:38 +0100 Subject: [PATCH] remove unnecessary Threads::Threads linking --- recipes/lely-core/all/test_package/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/lely-core/all/test_package/CMakeLists.txt b/recipes/lely-core/all/test_package/CMakeLists.txt index 7110104e64ed1..c8be0aec2f07e 100644 --- a/recipes/lely-core/all/test_package/CMakeLists.txt +++ b/recipes/lely-core/all/test_package/CMakeLists.txt @@ -2,8 +2,7 @@ cmake_minimum_required(VERSION 3.2) project(test_package) find_package(lely-core REQUIRED) -find_package(Threads REQUIRED) add_executable("${PROJECT_NAME}" test_package.cpp) -target_link_libraries("${PROJECT_NAME}" PRIVATE lely-core::lely-core Threads::Threads) +target_link_libraries("${PROJECT_NAME}" PRIVATE lely-core::lely-core) target_compile_features("${PROJECT_NAME}" PRIVATE cxx_std_11)