forked from OSchip/llvm-project
build: make libunwind a proper project
This allows the build infrastructure to properly detect and build libunwind. llvm-svn: 235796
This commit is contained in:
parent
c5d132b336
commit
2ba9a21ad0
|
@ -7,7 +7,8 @@ foreach(entry ${entries})
|
|||
if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi))
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind))
|
||||
add_subdirectory(${entry})
|
||||
endif()
|
||||
endif()
|
||||
|
@ -23,6 +24,7 @@ if(${LLVM_BUILD_RUNTIME})
|
|||
# first.
|
||||
add_llvm_external_project(libcxxabi)
|
||||
add_llvm_external_project(libcxx)
|
||||
add_llvm_external_project(libunwind)
|
||||
endif()
|
||||
if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
|
||||
add_llvm_external_project(compiler-rt)
|
||||
|
|
Loading…
Reference in New Issue