Skip to content

Commit

Permalink
Install CMake config to architecture-specific location
Browse files Browse the repository at this point in the history
As an architecture-specific CMake project, the CMake config files should
be installed to an architecture-specific location.
  • Loading branch information
cottsay committed Dec 20, 2024
1 parent 724a7d8 commit c0d9ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake")
set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake")
set(targets_export_name "${PROJECT_NAME}Targets")
set(config_install_dir "share/${PROJECT_NAME}/cmake")
set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}/cmake")

# Include module with fuction 'write_basic_package_version_file'
include(CMakePackageConfigHelpers)
Expand Down

0 comments on commit c0d9ef1

Please sign in to comment.