summaryrefslogtreecommitdiff
path: root/lib/Headers/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Headers/CMakeLists.txt')
-rw-r--r--lib/Headers/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt
index 57d7ee5cdd8a7..6c874f4b7bb5a 100644
--- a/lib/Headers/CMakeLists.txt
+++ b/lib/Headers/CMakeLists.txt
@@ -14,11 +14,10 @@ set(files
tmmintrin.h
xmmintrin.h)
-#FIXME: Centralize Clang version info
if (MSVC_IDE OR XCODE)
- set(output_dir ${LLVM_BINARY_DIR}/bin/lib/clang/1.0/include)
+ set(output_dir ${LLVM_BINARY_DIR}/bin/lib/clang/${CLANG_VERSION}/include)
else ()
- set(output_dir ${LLVM_BINARY_DIR}/lib/clang/1.0/include)
+ set(output_dir ${LLVM_BINARY_DIR}/lib/clang/${CLANG_VERSION}/include)
endif ()
@@ -36,4 +35,4 @@ add_custom_target(clang-headers ALL
install(FILES ${files}
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
- DESTINATION Headers)
+ DESTINATION lib/clang/${CLANG_VERSION}/include)