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-12 14:52:22 +0100
commitc050f4fa30ccda637f3e05edddf750b768c8590d (patch)
treea9eb6e2dc6f8b731226072dfbdf7402937bd1d0c /CMakeLists.txt
parent25f54c960d7a4ceca7bd3e21f87baf48d6cbc2d3 (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.
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 e9b5a0a19..12bc67174 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -115,7 +115,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)