Skip to content

Commit b2e22a5

Browse files
Merge pull request #11 from carbonengine/change-install-location
Change install location and name to carbon-resources
2 parents 1d19710 + b449a35 commit b2e22a5

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright © 2025 CCP ehf.
22

33
cmake_minimum_required(VERSION 3.30.1)
4-
project(resources VERSION 3.1.1)
4+
project(resources VERSION 3.1.2)
55

66
include(cmake/CcpGlobalSettings.cmake)
77
include(cmake/CcpTargetConfigurations.cmake)
@@ -157,11 +157,13 @@ if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
157157

158158
install(
159159
EXPORT resourcesTarget
160-
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/resources
161-
FILE resources.cmake)
160+
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/carbon-resources
161+
FILE carbon-resources.cmake
162+
)
162163
install(
163-
FILES resourcesConfig.cmake
164-
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/resources)
164+
FILES carbon-resourcesConfig.cmake
165+
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/carbon-resources
166+
)
165167
endif ()
166168

167169
endif ()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include(CMakeFindDependencyMacro)
22

33
# ${CMAKE_CURRENT_LIST_DIR}/project_name.cmake is generated automatically by cmake as part of the install step
4-
include(${CMAKE_CURRENT_LIST_DIR}/resources.cmake)
4+
include(${CMAKE_CURRENT_LIST_DIR}/carbon-resources.cmake)
55

66
# Please specify all of this projects transitive dependencies here
77
# In order for a consuming cmake project system to locate any transitive dependencies of this project, they must be

0 commit comments

Comments
 (0)