Skip to content

Commit c1cb850

Browse files
committed
cmake: use FindThreads to define Threads::Threads target
1 parent a62cf4d commit c1cb850

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
cmake_minimum_required(VERSION 3.12.2 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
22

33
project(DataDistribution
4-
VERSION 0.5.1
54
DESCRIPTION "O2 data distribution components"
65
LANGUAGES CXX
76
)
@@ -65,6 +64,8 @@ endif()
6564

6665
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
6766

67+
include(FindThreads) # create Threads::Threads target
68+
6869
find_package(FairMQ 1.4 REQUIRED)
6970
find_package(FairLogger ${FairMQ_FairLogger_VERSION} REQUIRED)
7071

0 commit comments

Comments
 (0)