aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-09-10 04:03:58 -0700
committerGuy Harris <guy@alum.mit.edu>2017-09-10 04:03:58 -0700
commit57b81fcacd040e9ff1ccc05fbbe478aeb291f0f3 (patch)
tree598e345c28eab4b03ac0c9cc216d2c0bae458b41 /cmake
parentd3e8a2610da7579b228f01cf2c81fc41f275d9b1 (diff)
Another C++ check that can just be a C check.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindLFS.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLFS.cmake b/cmake/FindLFS.cmake
index 15c3d511..771b89f4 100644
--- a/cmake/FindLFS.cmake
+++ b/cmake/FindLFS.cmake
@@ -81,7 +81,7 @@ function(_lfs_check)
set(_lfs_libs)
set(CMAKE_REQUIRED_QUIET 1)
message(STATUS "Looking for native LFS support")
- check_cxx_source_compiles("${_lfs_test_source}" lfs_native)
+ check_c_source_compiles("${_lfs_test_source}" lfs_native)
if (lfs_native)
message(STATUS "Looking for native LFS support - found")
set(LFS_FOUND TRUE)