Skip to content

Commit

Permalink
[skips ci] adjusting cmake for real-world use
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Hewett committed Aug 29, 2023
1 parent 06b7310 commit c7e9b1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export(PACKAGE ${MLS_EXPORT_NAMESPACE})

configure_package_config_file(cmake/config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${MLS_EXPORT_NAMESPACE}Config.cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_DATADIR}/${MLS_EXPORT_NAMESPACE}
NO_SET_AND_CHECK_MACRO)

write_basic_package_version_file(
Expand All @@ -164,8 +164,9 @@ install(

install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/${MLS_EXPORT_NAMESPACE}Config.cmake
${CMAKE_CURRENT_BINARY_DIR}/${MLS_EXPORT_NAMESPACE}ConfigVersion.cmake
${CMAKE_CURRENT_BINARY_DIR}/${MLS_EXPORT_NAMESPACE}Targets.cmake
DESTINATION
${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake)
${CMAKE_INSTALL_DATADIR}/${MLS_EXPORT_NAMESPACE})

0 comments on commit c7e9b1f

Please sign in to comment.