reuse project version

This commit is contained in:
Erik Frojdh 2022-04-28 15:06:43 +02:00
parent dff6218b4d
commit 781ce4d25b

View File

@ -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()