summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>2022-05-01 04:21:43 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-03 16:26:18 (GMT)
commit3257c34073e53b09ed1bf83b012eb026b9897d07 (patch)
treef82063bddb7eaba6b7fcb8c719c58724cb69892b /Help/guide/tutorial
parent833e9525830a916f9997daf5ca04686e366bd210 (diff)
downloadCMake-3257c34073e53b09ed1bf83b012eb026b9897d07.zip
CMake-3257c34073e53b09ed1bf83b012eb026b9897d07.tar.gz
CMake-3257c34073e53b09ed1bf83b012eb026b9897d07.tar.bz2
FindThreads: avoid failing in AIX when using -D_XOPEN_SOURCE=500
Current FindThreads fails in AIX (tested on 7.1 and 7.2) when using additional compilation flags (ex: -D_XOPEN_SOURCE=500) because the linker might need additional flags to link and those aren't yet known by the time check_include("pthread.h") is run (which is also the first test). Remove the check for it and all supporting code and rely instead on the compilation test that will be done later to find the correct syntax to use, and that confirms it exists implicitly.
Diffstat (limited to 'Help/guide/tutorial')
0 files changed, 0 insertions, 0 deletions