Skip to content

Commit

Permalink
Update the compatibility of from SameMinorVersion to SameMajorVersion…
Browse files Browse the repository at this point in the history
… in the main CMakeLists.txt file
  • Loading branch information
GiulioRomualdi committed Jan 18, 2020
1 parent c469a83 commit a349543
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ install(TARGETS ${LIBRARY_TARGET_NAME}
include(InstallBasicPackageFiles)
install_basic_package_files(${PROJECT_NAME}
VERSION ${${PROJECT_NAME}_VERSION}
COMPATIBILITY SameMinorVersion
COMPATIBILITY SameMajorVersion
VARS_PREFIX ${PROJECT_NAME}
NO_CHECK_REQUIRED_COMPONENTS_MACRO
CONFIG_TEMPLATE ${CMAKE_SOURCE_DIR}/cmake/OsqpEigenConfig.cmake.in)
Expand Down
4 changes: 0 additions & 4 deletions cmake/InstallBasicPackageFiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
include(CMakeParseArguments)

# custom version of the write_basic_package_version_file
# available only from cmake 3.11
include(WriteBasicConfigVersionFile)

function(INSTALL_BASIC_PACKAGE_FILES _Name)

# TODO check that _Name does not contain "-" characters
Expand Down

0 comments on commit a349543

Please sign in to comment.