Skip to content

Commit 5df9655

Browse files
authored
Update ModuleUtils.cmake
1 parent 3bdef86 commit 5df9655

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeModules/ModuleUtils.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ macro(process_modules)
177177
if(NOT "${MODULES}" STREQUAL "")
178178
# First step: request modules that the user wants.
179179
separate_arguments(MODULES_LIST WINDOWS_COMMAND "${MODULES}")
180-
string(REPLACE " " ";" MODULES_LIST ${MODULES_LIST})
180+
string(REPLACE " " ";" MODULES_LIST "${MODULES_LIST}")
181181
foreach(MODULE ${MODULES_LIST})
182-
string(REPLACE "\"" "" UNQUOTEDMODULE ${MODULE})
182+
string(REPLACE "\"" "" UNQUOTEDMODULE "${MODULE}")
183183
request_dependency(${UNQUOTEDMODULE})
184184
endforeach()
185185

@@ -293,4 +293,4 @@ macro(copy_shared_libs target libs source_dir)
293293
postbuild_copy_files("${target}" "${LIB}.so" "${source_dir}" "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
294294
endif()
295295
endforeach()
296-
endmacro()
296+
endmacro()

0 commit comments

Comments
 (0)