From 9ca1a8b8435f30045bb27adedfadefa39e80356e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Thu, 26 Jul 2018 17:06:28 +0200 Subject: [PATCH] Update CMakeLists.txt - Use AnyNewerVersion instead of ExactVersion in order to increase compatibility. - Otherwise cmake find_package will fail, if the version is not exactly the same. Remark: Currently the PACKAGE_VERSION is "0.8.0" --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2786aba9e..043e12ca2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -268,7 +268,7 @@ configure_package_config_file(websocketpp-config.cmake.in ) write_basic_package_version_file("${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/websocketpp-configVersion.cmake" VERSION ${WEBSOCKETPP_VERSION} - COMPATIBILITY ExactVersion) + COMPATIBILITY AnyNewerVersion) # Install the websocketpp-config.cmake and websocketpp-configVersion.cmake install (FILES