Skip to content

Commit

Permalink
add package version file
Browse files Browse the repository at this point in the history
  • Loading branch information
anderslanglands committed Nov 23, 2023
1 parent d55258f commit 9442675
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bbl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,16 @@ configure_package_config_file(
INCLUDE_INSTALL_DIR
)

write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/babble-config-version.cmake
COMPATIBILITY
SameMinorVersion # change this to SameMajorVersion when we hit 1.0
)

install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/babble-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/babble-config-version.cmake
cmake/babble-functions.cmake
DESTINATION
${CMAKE_INSTALL_LIBDIR}/cmake/babble
Expand Down

0 comments on commit 9442675

Please sign in to comment.