Merge pull request #213 from unexploredtest/fix-include-in-install
Fixed the issue that caused CMake to look for non-existent path after being installed
This commit is contained in:
commit
18e9a93d33
1 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue