llvm.org GIT mirror llvm / 81680ae
[projects] Use directory name for add_llvm_external_projects add_llvm_external_projects expects the directory name instead of the full path, otherwise the check for an in-tree subproject will fail and the project won't be configured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348217 91177308-0d34-0410-b5e6-96231b3b80d8 Shoaib Meenai 9 months ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1212 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/parallel-libs) AND
1414 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests))
15 add_llvm_external_project(${entry})
15 get_filename_component(entry_name "${entry}" NAME)
16 add_llvm_external_project(${entry_name})
1617 endif()
1718 endif()
1819 endforeach(entry)