Skip to content
Snippets Groups Projects
Commit b690d68a authored by Bertrand Bellenot's avatar Bertrand Bellenot
Browse files

No need to use REGEX in string REPLACE

parent 9d6fef8f
Branches
Tags
No related merge requests found
...@@ -63,8 +63,8 @@ endif() ...@@ -63,8 +63,8 @@ endif()
if(MSVC) if(MSVC)
# replace dashes in the -EH* and -GR* flags with slashes (/EH* /GR*) # replace dashes in the -EH* and -GR* flags with slashes (/EH* /GR*)
string(REGEX REPLACE "(^| ) *-EH" " /EH" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") string(REPLACE " -EH" " /EH" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
string(REGEX REPLACE "(^| ) *-GR" " /GR" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") string(REPLACE " -GR" " /GR" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
endif() endif()
set(LLVM_TARGETS_TO_BUILD ${ROOT_CLING_TARGET} CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") set(LLVM_TARGETS_TO_BUILD ${ROOT_CLING_TARGET} CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment