diff options
author | Brad King <brad.king@kitware.com> | 2018-12-07 18:28:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-07 18:33:01 (GMT) |
commit | 83dab0c123c0831c736fed5de3c24c2168e40541 (patch) | |
tree | 7e5cf3bbcd93c39f24553a869647a960fac853b2 /Tests/FindThreads | |
parent | 99a224e3ee0b6a770c388313a7b32746a95514e8 (diff) | |
download | CMake-83dab0c123c0831c736fed5de3c24c2168e40541.zip CMake-83dab0c123c0831c736fed5de3c24c2168e40541.tar.gz CMake-83dab0c123c0831c736fed5de3c24c2168e40541.tar.bz2 |
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.
Diffstat (limited to 'Tests/FindThreads')
-rw-r--r-- | Tests/FindThreads/C-only/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/FindThreads/CXX-only/CMakeLists.txt | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Tests/FindThreads/C-only/CMakeLists.txt b/Tests/FindThreads/C-only/CMakeLists.txt index ab4ca0d..ee2a5f9 100644 --- a/Tests/FindThreads/C-only/CMakeLists.txt +++ b/Tests/FindThreads/C-only/CMakeLists.txt @@ -1,7 +1,6 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR) project(FindThreads_C-only C) -set(CMAKE_THREAD_PREFER_PTHREAD On) find_package(Threads REQUIRED) if (NOT WIN32) diff --git a/Tests/FindThreads/CXX-only/CMakeLists.txt b/Tests/FindThreads/CXX-only/CMakeLists.txt index 9993123..3c6cc1e 100644 --- a/Tests/FindThreads/CXX-only/CMakeLists.txt +++ b/Tests/FindThreads/CXX-only/CMakeLists.txt @@ -1,7 +1,6 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR) project(FindThreads_CXX-only CXX) -set(CMAKE_THREAD_PREFER_PTHREAD On) find_package(Threads REQUIRED) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../../../Modules/CheckForPthreads.c |