From e24ed10aac1d7a44591c0d3abb28d9447e21f013 Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Fri, 10 May 2019 18:37:30 +0000 Subject: [PATCH] [NFC][TSan][libdispatch] Tiny CMake file cleanup llvm-svn: 360453 --- compiler-rt/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index 7dfb1ee2899f..800304c07638 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -192,8 +192,7 @@ if (COMPILER_RT_INTERCEPT_LIBDISPATCH AND NOT APPLE) set(COMPILER_RT_TEST_LIBDISPATCH_CFLAGS) if (COMPILER_RT_LIBDISPATCH_INSTALL_PATH) list(APPEND COMPILER_RT_TEST_LIBDISPATCH_CFLAGS - -I${COMPILER_RT_LIBDISPATCH_INSTALL_PATH}/include) - list(APPEND COMPILER_RT_TEST_LIBDISPATCH_CFLAGS + -I${COMPILER_RT_LIBDISPATCH_INSTALL_PATH}/include -L${COMPILER_RT_LIBDISPATCH_INSTALL_PATH}/lib -Wl,-rpath=${COMPILER_RT_LIBDISPATCH_INSTALL_PATH}/lib) endif()