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 7e0e2cc commit e95c076Copy full SHA for e95c076
cmake/modules/GitVersion.cmake
@@ -397,6 +397,8 @@ function(add_version_info_custom_prefix target prefix directory)
397
include(ArchiveVersionInfo_${prefix} OPTIONAL RESULT_VARIABLE ARCHIVE_VERSION_PRESENT)
398
if(ARCHIVE_VERSION_PRESENT AND ${prefix}_VERSION_SUCCESS)
399
message(STATUS "Info: Version information from archive file.")
400
+ set(${prefix}_VERSION_BUILDTYPE "${CMAKE_BUILD_TYPE}")
401
+ set(${prefix}_VERSION_BUILDTYPE "${CMAKE_BUILD_TYPE}" PARENT_SCOPE)
402
else()
403
get_version_info(${prefix} "${directory}")
404
if("${${prefix}_VERSION_FULLHASH}" STREQUAL "unknown"
0 commit comments