We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efd9338 commit 9607a5fCopy full SHA for 9607a5f
1 file changed
appsec/CMakeLists.txt
@@ -23,8 +23,8 @@ execute_process(
23
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/hunter-cache.id.in ${CMAKE_CURRENT_SOURCE_DIR}/hunter-cache.id)
24
25
file(READ "../VERSION" appsec_version)
26
+string(STRIP "${appsec_version}" appsec_version)
27
set(CMAKE_APPSEC_VERSION ${appsec_version})
-
28
string(REGEX MATCH "^[^+a-z]*" appsec_short_version "${appsec_version}")
29
project(ddappsec VERSION ${appsec_short_version})
30
0 commit comments