[Openmp-commits] [openmp] 50716ba - [CMake][OpenMP] Remove wrong backslash
Sebastian Neubauer via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jul 28 05:36:47 PDT 2022
Author: Sebastian Neubauer
Date: 2022-07-28T14:35:04+02:00
New Revision: 50716ba2b337afe46ac256cc91673dc27356a776
URL: https://github.com/llvm/llvm-project/commit/50716ba2b337afe46ac256cc91673dc27356a776
DIFF: https://github.com/llvm/llvm-project/commit/50716ba2b337afe46ac256cc91673dc27356a776.diff
LOG: [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.
Added:
Modified:
openmp/runtime/src/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt
index 02f65aac0d40e..9bc8837d0377d 100644
--- a/openmp/runtime/src/CMakeLists.txt
+++ b/openmp/runtime/src/CMakeLists.txt
@@ -380,7 +380,7 @@ else()
extend_path(outdir "${CMAKE_INSTALL_PREFIX}" "${OPENMP_INSTALL_LIBDIR}")
install(CODE "execute_process(COMMAND \"\${CMAKE_COMMAND}\" -E create_symlink \"${LIBOMP_LIB_FILE}\"
\"${alias}${LIBOMP_LIBRARY_SUFFIX}\" WORKING_DIRECTORY
- \"\$ENV{DESTDIR}\${outdir}\")")
+ \"\$ENV{DESTDIR}${outdir}\")")
endforeach()
endif()
endif()
More information about the Openmp-commits
mailing list