From 781ce4d25bff513dfe5bdac9380cca0f475b1018 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Thu, 28 Apr 2022 15:06:43 +0200 Subject: [PATCH] reuse project version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e44788ce..3cf81f698 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,7 +127,7 @@ endif() if(SLS_EXT_BUILD) # Find ourself in case of external build - find_package(slsDetectorPackage 6 REQUIRED) + find_package(slsDetectorPackage ${PROJECT_VERSION} REQUIRED) endif()