Skip to content

Commit

Permalink
Review from cedricchevalier19
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Nov 7, 2024
1 parent 60b5f66 commit 9011cd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ configure_package_config_file(
INSTALL_DESTINATION lib/cmake/DDC
)

# We use SameMinorVersion until major version 1
if(PROJECT_VERSION VERSION_GREATER_EQUAL 1)
message(FATAL_ERROR "DDC must switch COMPATIBILITY mode to SameMajorVersion")
endif()
write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/DDCConfigVersion.cmake
COMPATIBILITY SameMinorVersion
Expand Down

0 comments on commit 9011cd4

Please sign in to comment.