mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
83dab0c123
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.
10 lines
267 B
CMake
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 ()
|