Skip to content

Commit 3481159

Browse files
committed
Change location where configuration file is installed
1 parent 31a17c7 commit 3481159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ include(CMakePackageConfigHelpers)
123123

124124
configure_package_config_file(
125125
"resources/cmake/rsp-cmake-scripts-config.cmake.in"
126-
"${CMAKE_CURRENT_BINARY_DIR}/rsp-cmake-scripts-config.cmake"
126+
"${CMAKE_CURRENT_BINARY_DIR}/cmake/rsp/rsp-cmake-scripts-config.cmake"
127127

128128
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/rsp"
129129
#PATH_VARS INCLUDE_INSTALL_DIR SYSCONFIG_INSTALL_DIR
@@ -133,7 +133,7 @@ configure_package_config_file(
133133

134134
install(
135135
FILES
136-
"${CMAKE_CURRENT_BINARY_DIR}/rsp-cmake-scripts-config.cmake"
136+
"${CMAKE_CURRENT_BINARY_DIR}/cmake/rsp/rsp-cmake-scripts-config.cmake"
137137
# "${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake"
138138
DESTINATION
139139
"${CMAKE_INSTALL_LIBDIR}/cmake/rsp"

0 commit comments

Comments
 (0)