r271937 - [CMake] Fixing a typo in a CMake option

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 6 13:18:38 PDT 2016


Author: cbieneman
Date: Mon Jun  6 15:18:38 2016
New Revision: 271937

URL: http://llvm.org/viewvc/llvm-project?rev=271937&view=rev
Log:
[CMake] Fixing a typo in a CMake option

CMake defines are set with -D, forgetting the D doesn’t work.

Modified:
    cfe/trunk/runtime/CMakeLists.txt

Modified: cfe/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/CMakeLists.txt?rev=271937&r1=271936&r2=271937&view=diff
==============================================================================
--- cfe/trunk/runtime/CMakeLists.txt (original)
+++ cfe/trunk/runtime/CMakeLists.txt Mon Jun  6 15:18:38 2016
@@ -82,7 +82,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND E
                -DCOMPILER_RT_INSTALL_PATH:STRING=lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}
                -DCOMPILER_RT_INCLUDE_TESTS=${LLVM_INCLUDE_TESTS}
                -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
-               -LLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX}
+               -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX}
                -Dcmake_3_2_USES_TERMINAL=${cmake_3_2_USES_TERMINAL}
                ${COMPILER_RT_PASSTHROUGH_VARIABLES}
     INSTALL_COMMAND ""




More information about the cfe-commits mailing list