Files
CMake/Tests/FindThreads/C-only/CMakeLists.txt
T
Brad King 83dab0c123 FindThreads: Drop IRIX-specific options and results
We do not need to support IRIX anymore, so drop relevant parts.  In
particular, the `CMAKE_THREAD_PREFER_PTHREAD` is frequently confused
with `THREADS_PREFER_PTHREAD_FLAG`.

Also remove references to the IRIX-specific options and results
from other modules and tests.
2018-12-07 13:33:01 -05:00

10 lines
267 B
CMake

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 ()