From: Matthew Barr Date: Mon, 15 May 2017 22:52:11 +0000 (+1000) Subject: cmake: use the correct command X-Git-Tag: v4.5.0^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e3769664cf868e8f1a2cadf348e8101fdcbc51;p=thirdparty%2Fvectorscan.git cmake: use the correct command --- diff --git a/tools/hsbench/CMakeLists.txt b/tools/hsbench/CMakeLists.txt index 8f718ee3..9b2cde4d 100644 --- a/tools/hsbench/CMakeLists.txt +++ b/tools/hsbench/CMakeLists.txt @@ -12,7 +12,7 @@ else() endif() # BSD has the _np funcs in a _np header -CHECK_INCLUDE_FILE(pthread_np.h HAVE_PTHREAD_NP_H) +CHECK_INCLUDE_FILE_CXX(pthread_np.h HAVE_PTHREAD_NP_H) if (HAVE_PTHREAD_NP_H) set (PTHREAD_NP_INC pthread_np.h) else ()