Skip to content

Commit 5250fe2

Browse files
committed
llvm-test-suite stuff
1 parent 91be5db commit 5250fe2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

xpti/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/lib/${CMAKE_BUILD_TYPE})
7777
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
7878
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
7979

80+
if (LLVM_BINARY_DIR)
81+
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/include/xpti
82+
DESTINATION ${LLVM_BINARY_DIR}/include)
83+
endif()
84+
8085
add_subdirectory(src)
8186

8287
include(GNUInstallDirs)

xptifw/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/lib/${CMAKE_BUILD_TYPE})
5151
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
5252
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
5353

54-
include_directories(${CMAKE_SOURCE_DIR}/include ${XPTI_DIR}/include)
5554
add_subdirectory(src)
5655

5756
add_custom_target(check-xptifw)

0 commit comments

Comments
 (0)