Avoid copying or creating soft link of cling under llvm/src/tools. This solved the problem of soft links on Windows.
This commit is contained in:
parent
c0321e417e
commit
1330543641
@ -156,11 +156,9 @@ macro(add_cling_executable name)
|
||||
set_target_properties(${name} PROPERTIES FOLDER "Cling executables")
|
||||
endmacro(add_cling_executable)
|
||||
|
||||
get_filename_component(_realpath ${CMAKE_CURRENT_SOURCE_DIR}/../clang/include REALPATH)
|
||||
include_directories(BEFORE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../clang/include
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR}/../clang/include
|
||||
${_realpath}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../llvm/src/tools/clang/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../llvm/src/tools/clang/include
|
||||
)
|
||||
|
||||
include_directories(BEFORE
|
||||
|
Loading…
x
Reference in New Issue
Block a user