Merge pull request #217 from EthicalML/revert-213-fix-include-in-install
Revert "Fixed the issue that caused CMake to look for non-existent path after being installed"
This commit is contained in:
commit
43594ace71
1 changed files with 4 additions and 3 deletions
|
|
@ -51,11 +51,12 @@ endif()
|
|||
|
||||
target_include_directories(
|
||||
kompute PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${PROJECT_SOURCE_DIR}/single_include
|
||||
$<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_ANDOID_BUILD)
|
||||
target_link_libraries(
|
||||
kompute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue