]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
cmake: use the correct command
authorMatthew Barr <matthew.barr@intel.com>
Mon, 15 May 2017 22:52:11 +0000 (08:52 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Tue, 30 May 2017 04:00:35 +0000 (14:00 +1000)
tools/hsbench/CMakeLists.txt

index 8f718ee3dd976fba2643d7023df4437834d0340a..9b2cde4db5418a02bcbe68796d570f32f36ef948 100644 (file)
@@ -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 ()