summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/GrPackage.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmake/Modules/GrPackage.cmake b/cmake/Modules/GrPackage.cmake
index 8761a9290..a36ad9162 100644
--- a/cmake/Modules/GrPackage.cmake
+++ b/cmake/Modules/GrPackage.cmake
@@ -141,11 +141,11 @@ endif()
# DEB package specific
########################################################################
foreach(filename preinst postinst prerm postrm)
- list(APPEND CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${CMAKE_BINARY_DIR}/debian/${filename})
- file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/debian)
+ list(APPEND CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${CMAKE_BINARY_DIR}/Packaging/${filename})
+ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Packaging)
configure_file(
- ${CMAKE_SOURCE_DIR}/cmake/debian/${filename}.in
- ${CMAKE_BINARY_DIR}/debian/${filename}
+ ${CMAKE_SOURCE_DIR}/cmake/Packaging/${filename}.in
+ ${CMAKE_BINARY_DIR}/Packaging/${filename}
@ONLY)
endforeach(filename)
@@ -154,11 +154,11 @@ endforeach(filename)
########################################################################
foreach(filename post_install post_uninstall pre_install pre_uninstall)
string(TOUPPER ${filename} filename_upper)
- list(APPEND CPACK_RPM_${filename_upper}_SCRIPT_FILE ${CMAKE_BINARY_DIR}/redhat/${filename})
- file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/redhat)
+ list(APPEND CPACK_RPM_${filename_upper}_SCRIPT_FILE ${CMAKE_BINARY_DIR}/Packaging/${filename})
+ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Packaging)
configure_file(
- ${CMAKE_SOURCE_DIR}/cmake/redhat/${filename}.in
- ${CMAKE_BINARY_DIR}/redhat/${filename}
+ ${CMAKE_SOURCE_DIR}/cmake/Packaging/${filename}.in
+ ${CMAKE_BINARY_DIR}/Packaging/${filename}
@ONLY)
endforeach(filename)