[libcxx] r337727 - [CMake] Fix the setting of LIBCXX_HEADER_DIR
Heejin Ahn via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 23 11:58:12 PDT 2018
Author: aheejin
Date: Mon Jul 23 11:58:12 2018
New Revision: 337727
URL: http://llvm.org/viewvc/llvm-project?rev=337727&view=rev
Log:
[CMake] Fix the setting of LIBCXX_HEADER_DIR
Reviewers: phosek
Subscribers: mgorny, christof, ldionne, cfe-commits
Differential Revision: https://reviews.llvm.org/D49629
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=337727&r1=337726&r2=337727&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Mon Jul 23 11:58:12 2018
@@ -378,7 +378,7 @@ endif ()
set(LIBCXX_COMPILER ${CMAKE_CXX_COMPILER})
set(LIBCXX_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(LIBCXX_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
-set(LIBCXX_HEADER_DIR ${LLVM_BINARY_DIR})
+set(LIBCXX_HEADER_DIR ${LIBCXX_BINARY_DIR})
set(LIBCXX_BINARY_INCLUDE_DIR "${LIBCXX_BINARY_DIR}/include/c++build")
string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION
More information about the cfe-commits
mailing list