Skip to content

Commit

Permalink
Ecaludp now installs an ecaludpConfigVersion.cmake file
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Apr 26, 2024
1 parent c3cfc50 commit 2d44357
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ecaludp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,15 @@ configure_package_config_file(
INSTALL_DESTINATION ${ECALUDP_INSTALL_CMAKE_DIR}
PATH_VARS ECALUDP_INSTALL_CMAKE_DIR
)
write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/cmake_/ecaludpConfigVersion.cmake"
VERSION ${PROJECT_VERSION}
COMPATIBILITY SameMajorVersion
)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake_/ecaludpConfig.cmake"
FILES
"${CMAKE_CURRENT_BINARY_DIR}/cmake_/ecaludpConfig.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_/ecaludpConfigVersion.cmake"
DESTINATION ${ECALUDP_INSTALL_CMAKE_DIR}
COMPONENT ecaludp_dev
)

0 comments on commit 2d44357

Please sign in to comment.