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:
Alejandro Saucedo 2021-05-06 19:43:36 +01:00 committed by GitHub
commit 43594ace71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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