forked from OSchip/llvm-project
Add current binary and source directories to the header search list
for all compiler invocations. llvm-svn: 125513
This commit is contained in:
parent
2f9a5a46a5
commit
210b06a213
|
@ -169,6 +169,8 @@ endif()
|
|||
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 )
|
||||
|
|
Loading…
Reference in New Issue