You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
267 B
10 lines
267 B
9 years ago
|
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
||
|
project(FindThreads_C-only C)
|
||
|
|
||
|
find_package(Threads REQUIRED)
|
||
|
|
||
|
if (NOT WIN32)
|
||
|
add_executable(thr ${CMAKE_CURRENT_SOURCE_DIR}/../../../Modules/CheckForPthreads.c)
|
||
|
target_link_libraries(thr Threads::Threads)
|
||
|
endif ()
|