Skip to content

Commit

Permalink
Merge pull request #213 from unexploredtest/fix-include-in-install
Browse files Browse the repository at this point in the history
Fixed the issue that caused CMake to look for non-existent path after being installed
  • Loading branch information
axsaucedo authored May 3, 2021
2 parents 7c83444 + b0bca97 commit 18e9a93
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ endif()

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>
${CMAKE_CURRENT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/single_include
)


if(NOT KOMPUTE_OPT_ANDOID_BUILD)
target_link_libraries(
kompute
Expand Down

0 comments on commit 18e9a93

Please sign in to comment.