Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright © 2025 CCP ehf.

cmake_minimum_required(VERSION 3.30.1)
project(resources VERSION 3.1.1)
project(resources VERSION 3.1.2)

include(cmake/CcpGlobalSettings.cmake)
include(cmake/CcpTargetConfigurations.cmake)
Expand Down Expand Up @@ -157,11 +157,13 @@ if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)

install(
EXPORT resourcesTarget
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/resources
FILE resources.cmake)
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/carbon-resources
FILE carbon-resources.cmake
)
install(
FILES resourcesConfig.cmake
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/resources)
FILES carbon-resourcesConfig.cmake
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/carbon-resources
)
endif ()

endif ()
2 changes: 1 addition & 1 deletion resourcesConfig.cmake → carbon-resourcesConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(CMakeFindDependencyMacro)

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

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