Skip to content

Commit ec3065b

Browse files
Build: Add missing quote around TRINITY_BUILD_HOST_SYSTEM_RELEASE variable during revision_data.h generation (TrinityCore#31732)
* Fixes more edge cases with localized output from Get-CimInstance
1 parent a435d8a commit ec3065b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/genrev.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ if(WIN32)
134134
OUTPUT_STRIP_TRAILING_WHITESPACE
135135
)
136136
# Remove "Microsoft Windows" from the result
137-
string(REGEX REPLACE "^.* Windows " "" TRINITY_BUILD_HOST_SYSTEM_RELEASE ${TRINITY_BUILD_HOST_SYSTEM_RELEASE})
137+
string(REGEX REPLACE "^.* Windows " "" TRINITY_BUILD_HOST_SYSTEM_RELEASE "${TRINITY_BUILD_HOST_SYSTEM_RELEASE}")
138138
endif()
139139

140140
if(CMAKE_SCRIPT_MODE_FILE)

0 commit comments

Comments
 (0)