File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,8 @@ if(NOT DEFINED IGC_API_PATCH_VERSION)
4242endif ()
4343
4444# IGC_BUILD_ID
45- if (DEFINED IGC_PACKAGE_RELEASE)
46- set (IGC_BUILD_ID ${IGC_PACKAGE_RELEASE} )
47- else ()
48- set (IGC_BUILD_ID 0)
45+ if (NOT DEFINED IGC_BUILD_METADATA)
46+ set (IGC_BUILD_METADATA 0)
4947endif ()
5048
5149set (CMAKE_CXX_STANDARD 17)
@@ -2139,8 +2137,8 @@ endif()
21392137########################################################################
21402138
21412139set (IGC_PC_PACKAGE_RELEASE "" )
2142- if (DEFINED IGC_PACKAGE_RELEASE )
2143- set (IGC_PC_PACKAGE_RELEASE "-${IGC_PACKAGE_RELEASE } " )
2140+ if (DEFINED IGC_BUILD_METADATA )
2141+ set (IGC_PC_PACKAGE_RELEASE "-${IGC_BUILD_METADATA } " )
21442142endif ()
21452143include (cmake/igc_version.cmake)
21462144
You can’t perform that action at this time.
0 commit comments