We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea1f76 commit 1106cbbCopy full SHA for 1106cbb
IGC/CMakeLists.txt
@@ -42,8 +42,14 @@ if(NOT DEFINED IGC_API_PATCH_VERSION)
42
endif()
43
44
# IGC_BUILD_METADATA
45
+# Used as version suffix, to distinguish builds with the same semantic version
46
+# Eg. libigc-1.2.3+x and libigc-1.2.3+y
47
if(NOT DEFINED IGC_BUILD_METADATA)
- set(IGC_BUILD_METADATA 0)
48
+ if(DEFINED ENV{IGC_BUILD_METADATA})
49
+ set(IGC_BUILD_METADATA $ENV{IGC_BUILD_METADATA})
50
+ else()
51
+ set(IGC_BUILD_METADATA 0)
52
+ endif()
53
54
55
set(CMAKE_CXX_STANDARD 17)
0 commit comments