Skip to content

Commit

Permalink
Correctly names version information file
Browse files Browse the repository at this point in the history
  • Loading branch information
cvilas committed Oct 5, 2024
1 parent 5942fce commit 752c859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ configure_package_config_file(

# Generate <Package>Version.cmake
write_basic_package_version_file(
"${PROJECT_NAME}Version.cmake"
"${PROJECT_NAME}ConfigVersion.cmake"
VERSION ${PROJECT_VERSION}
COMPATIBILITY SameMajorVersion)

install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Version.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"
DESTINATION "${CMAKE_INSTALL_CMAKEDIR}"
COMPONENT dev)

Expand Down

0 comments on commit 752c859

Please sign in to comment.