From 66968cddab492ecf054c6197ae5ac1d700f50a23 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 21 Jan 2021 15:31:24 -0500 Subject: [PATCH] write out NotcursesCoreConfigVersion.cmake --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f32a789a..48fc97e59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -707,6 +707,11 @@ configure_package_config_file(tools/NotcursesConfig.cmake.in INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/notcurses/cmake ) +write_basic_package_version_file( + ${CMAKE_CURRENT_BINARY_DIR}/NotcursesCoreConfigVersion.cmake + COMPATIBILITY SameMajorVersion +) + configure_package_config_file(tools/NotcursesCoreConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/NotcursesCoreConfig.cmake INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/notcurses/cmake