Skip to content

Commit

Permalink
Merge pull request #254 from ItsBasi/ItsBasi-patch-reference-to-non-e…
Browse files Browse the repository at this point in the history
…xisting-single_include

Remove nonexisting "single_include" from INSTALL_INTERFACE
  • Loading branch information
axsaucedo committed Sep 29, 2021
2 parents 5308141 + 6b56fdd commit 304ed84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ target_include_directories(
kompute PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/single_include>
$<INSTALL_INTERFACE:include>
$<INSTALL_INTERFACE:single_include>
)

if(NOT KOMPUTE_OPT_ANDROID_BUILD)
Expand Down Expand Up @@ -151,6 +149,8 @@ if(KOMPUTE_OPT_INSTALL)
ARCHIVE DESTINATION lib
INCLUDES DESTINATION include)

target_include_directories(kompute PUBLIC $<INSTALL_INTERFACE:include>)

install(DIRECTORY include/ DESTINATION include)

install(DIRECTORY ${PROJECT_SOURCE_DIR}/single_include/
Expand Down

0 comments on commit 304ed84

Please sign in to comment.