diff --git a/CMakeLists.txt b/CMakeLists.txt index 73b5658..9c9d492 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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