[PATCH] D27135: [CMAKE] fix LLVM_OPTIMIZED_TABLEGEN for Visual Studio
Daniil Fukalov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 09:22:13 PST 2016
This revision was automatically updated to reflect the committed changes.
dfukalov marked an inline comment as done.
Closed by commit rL288042: [CMAKE] fix LLVM_OPTIMIZED_TABLEGEN for Visual Studio (authored by dfukalov).
Changed prior to commit:
https://reviews.llvm.org/D27135?vs=79400&id=79415#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27135
Files:
llvm/trunk/CMakeLists.txt
Index: llvm/trunk/CMakeLists.txt
===================================================================
--- llvm/trunk/CMakeLists.txt
+++ llvm/trunk/CMakeLists.txt
@@ -531,7 +531,7 @@
option(LLVM_BUILD_LLVM_DYLIB "Build libllvm dynamic library" ${LLVM_BUILD_LLVM_DYLIB_default})
option(LLVM_OPTIMIZED_TABLEGEN "Force TableGen to be built with optimization" OFF)
-if(CMAKE_CROSSCOMPILING OR (LLVM_OPTIMIZED_TABLEGEN AND LLVM_ENABLE_ASSERTIONS))
+if(CMAKE_CROSSCOMPILING OR (LLVM_OPTIMIZED_TABLEGEN AND (LLVM_ENABLE_ASSERTIONS OR CMAKE_CONFIGURATION_TYPES)))
set(LLVM_USE_HOST_TOOLS ON)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27135.79415.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161128/6dd86af2/attachment.bin>
More information about the llvm-commits
mailing list