[cfe-commits] r102811 - /cfe/trunk/tools/libclang/CMakeLists.txt
Daniel Dunbar
daniel at zuster.org
Fri Apr 30 17:06:42 PDT 2010
Author: ddunbar
Date: Fri Apr 30 19:06:42 2010
New Revision: 102811
URL: http://llvm.org/viewvc/llvm-project?rev=102811&view=rev
Log:
Fix NON_ANSI_COMPILE_FLAGS setting, for MSVC.
Modified:
cfe/trunk/tools/libclang/CMakeLists.txt
Modified: cfe/trunk/tools/libclang/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CMakeLists.txt?rev=102811&r1=102810&r2=102811&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CMakeLists.txt (original)
+++ cfe/trunk/tools/libclang/CMakeLists.txt Fri Apr 30 19:06:42 2010
@@ -46,7 +46,7 @@
if(MSVC)
# windows.h doesn't compile with /Za
- get_target_property(NON_ANSI_COMPILE_FLAGS CIndex COMPILE_FLAGS)
+ get_target_property(NON_ANSI_COMPILE_FLAGS libclang COMPILE_FLAGS)
string(REPLACE /Za "" NON_ANSI_COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS})
set_target_properties(libclang PROPERTIES COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS})
endif(MSVC)
More information about the cfe-commits
mailing list