Skip to content

Commit

Permalink
[brief] Make the installed version number match stduuid version.
Browse files Browse the repository at this point in the history
* Installed version was still at 1.0 even though library is now at
1.2.3.

* This is to keep things up-to-date and to allow users to link against
specific versions of stduuid via `find_package(stduuid 1.2.3)`

Commit from mariusbancila#79

Co-authored-by: Mauricio A. Rovira Galvez
<[email protected]>
  • Loading branch information
OlivierLDff committed Apr 29, 2024
1 parent 3afe719 commit 13206d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ if(UUID_ENABLE_INSTALL)
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
INSTALL_DESTINATION lib/cmake/${PROJECT_NAME})
write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-version.cmake"
VERSION "1.0"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake"
VERSION "1.2.3"
COMPATIBILITY AnyNewerVersion)
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-version.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindLibuuid.cmake"
DESTINATION lib/cmake/${PROJECT_NAME})
export(EXPORT ${PROJECT_NAME}-targets
Expand Down

0 comments on commit 13206d3

Please sign in to comment.