File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
40
40
41
41
set (CMAKE_INCLUDE_CURRENT_DIR ON )
42
42
include_directories ("${PATH_TO_LLVM_BUILD} /include" "${LLVM_MAIN_INCLUDE_DIR} " )
43
- if ( NOT PATH_TO_LLVM_BUILD STREQUAL LLVM_MAIN_SRC_DIR )
44
- include_directories ("${LLVM_MAIN_INCLUDE_DIR} " )
45
- endif ()
46
43
link_directories ("${PATH_TO_LLVM_BUILD} /lib" )
47
44
48
45
set (LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD} /bin/tblgen" )
@@ -211,9 +208,9 @@ macro(add_clang_executable name)
211
208
set_target_properties (${name} PROPERTIES FOLDER "Clang executables" )
212
209
endmacro (add_clang_executable )
213
210
214
- include_directories (
215
- ${CMAKE_CURRENT_SOURCE_DIR} /include
211
+ include_directories (BEFORE
216
212
${CMAKE_CURRENT_BINARY_DIR} /include
213
+ ${CMAKE_CURRENT_SOURCE_DIR} /include
217
214
)
218
215
219
216
install (DIRECTORY include /
You can’t perform that action at this time.
0 commit comments