mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Build: Add missing quote around TRINITY_BUILD_HOST_SYSTEM_RELEASE variable during revision_data.h generation (#31732)
* Fixes more edge cases with localized output from Get-CimInstance
This commit is contained in:
@@ -134,7 +134,7 @@ if(WIN32)
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
# Remove "Microsoft Windows" from the result
|
||||
string(REGEX REPLACE "^.* Windows " "" TRINITY_BUILD_HOST_SYSTEM_RELEASE ${TRINITY_BUILD_HOST_SYSTEM_RELEASE})
|
||||
string(REGEX REPLACE "^.* Windows " "" TRINITY_BUILD_HOST_SYSTEM_RELEASE "${TRINITY_BUILD_HOST_SYSTEM_RELEASE}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_SCRIPT_MODE_FILE)
|
||||
|
||||
Reference in New Issue
Block a user