summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-22 22:28:45 +0200
committerJulian Andres Klode <jak@debian.org>2017-02-22 16:53:46 +0100
commit8b191eac9fbf7669b0e2b9abe2bba02d85f67af6 (patch)
tree456aca357e749ae3c5817a947aa64d093502cee4 /CMakeLists.txt
parent21242490e80dadb167a64c1815c08e1d2258fb61 (diff)
CMake: Install statvfs.h to include/sys, not just include/
We are including sys/statvfs.h, not statvfs.h, so make sure our dummy in the correct spot. (cherry picked from commit c050f4fa30ccda637f3e05edddf750b768c8590d)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8eba88338..67eb74748 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -113,7 +113,7 @@ endif()
check_function_exists(statvfs HAVE_STATVFS)
if (NOT HAVE_STATVFS)
- configure_file(CMake/statvfs.h.in ${PROJECT_BINARY_DIR}/include/statvfs.h COPYONLY)
+ configure_file(CMake/statvfs.h.in ${PROJECT_BINARY_DIR}/include/sys/statvfs.h COPYONLY)
endif()
CHECK_STRUCT_HAS_MEMBER("struct statfs" f_type sys/vfs.h HAVE_STRUCT_STATFS_F_TYPE)