Skip to content

Commit 2647f72

Browse files
FlakebiEricson2314
authored andcommitted
[CMake][OpenMP] Remove wrong backslash
outdir is defined in the line above, it will not exist in the install command, so it should not be escaped. (cherry picked from commit 50716ba)
1 parent 3700747 commit 2647f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/runtime/src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ else()
380380
extend_path(outdir "${CMAKE_INSTALL_PREFIX}" "${OPENMP_INSTALL_LIBDIR}")
381381
install(CODE "execute_process(COMMAND \"\${CMAKE_COMMAND}\" -E create_symlink \"${LIBOMP_LIB_FILE}\"
382382
\"${alias}${LIBOMP_LIBRARY_SUFFIX}\" WORKING_DIRECTORY
383-
\"\$ENV{DESTDIR}\${outdir}\")")
383+
\"\$ENV{DESTDIR}${outdir}\")")
384384
endforeach()
385385
endif()
386386
endif()

0 commit comments

Comments
 (0)