diff options
author | Daniel Alley <dalley@redhat.com> | 2018-09-16 17:59:48 +0300 |
---|---|---|
committer | Daniel Mach <daniel.mach@gmail.com> | 2018-11-19 18:17:12 +0300 |
commit | 403bf3fe8084e782e2252faef3883aa4aaaa033a (patch) | |
tree | e779b77635eb355d836ce14b02e5137fd135d266 /CMakeLists.txt | |
parent | b10afbba313e9ef60d4b779b024ab592ee947948 (diff) |
Utilize GNUInstallDirs
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 068a974..32644ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ PROJECT (createrepo_c C) -CMAKE_MINIMUM_REQUIRED (VERSION 2.8) +CMAKE_MINIMUM_REQUIRED (VERSION 2.8.10) + +include(GNUInstallDirs) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -ggdb -g -Wall -Wextra -Og") |