[llvm-commits] [llvm] r125513 - /llvm/trunk/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Mon Feb 14 12:13:58 PST 2011


Author: ofv
Date: Mon Feb 14 14:13:58 2011
New Revision: 125513

URL: http://llvm.org/viewvc/llvm-project?rev=125513&view=rev
Log:
Add current binary and source directories to the header search list
for all compiler invocations.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=125513&r1=125512&r2=125513&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Mon Feb 14 14:13:58 2011
@@ -169,6 +169,8 @@
 option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
 option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)
 
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
 include_directories( ${LLVM_BINARY_DIR}/include ${LLVM_MAIN_INCLUDE_DIR})
 
 if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )





More information about the llvm-commits mailing list