Skip to content

Commit c2765b7

Browse files
authored
Revert "[PATCH] offload-tunnel-cmake with proper escape" (#161727)
Reverts #161552
1 parent 35530f4 commit c2765b7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

llvm/runtimes/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -507,14 +507,10 @@ if(build_runtimes)
507507
endif()
508508

509509
# Forward user-provived system configuration to runtimes for requirement introspection.
510-
# CMAKE_PREFIX_PATH is the search path for CMake packages. In order to pass through
511-
# the command line interface, the CMake semicolon separator needs to be replaced
512-
# with $<SEMICOLON>
510+
# CMAKE_PREFIX_PATH is the search path for CMake packages.
513511
if(CMAKE_PREFIX_PATH)
514-
string(JOIN "$<SEMICOLON>" escaped_cmake_prefix_path ${CMAKE_PREFIX_PATH})
515-
list(APPEND extra_cmake_args "-DCMAKE_PREFIX_PATH=${escaped_cmake_prefix_path}")
512+
list(APPEND extra_cmake_args "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}")
516513
endif()
517-
518514
# CMAKE_PROGRAM_PATH is the search path for executables such as python.
519515
if(CMAKE_PROGRAM_PATH)
520516
list(APPEND extra_cmake_args "-DCMAKE_PROGRAM_PATH=${CMAKE_PROGRAM_PATH}")

0 commit comments

Comments
 (0)