diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c8ac5c4..40ae262 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ +cmake_minimum_required(VERSION 2.8...3.10) project(locales C) -cmake_minimum_required(VERSION 2.8) option(LOCALE_PROFILE "Install profile file setting the MUSL_LOCPATH environment variable" ON) @@ -22,7 +22,7 @@ target_compile_options(locale PRIVATE $<$<COMPILE_LANGUAGE:C>:-std=gnu11 -Wno-pedantic> ) if(LOCALE_PROFILE) - install(PROGRAMS ${CMAKE_BINARY_DIR}/00locale.sh DESTINATION + install(PROGRAMS ${CMAKE_BINARY_DIR}/00locale.sh DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/profile.d") endif(LOCALE_PROFILE) install(TARGETS locale DESTINATION bin) |