Merge pull request #254 from ItsBasi/ItsBasi-patch-reference-to-non-existing-single_include

Remove nonexisting "single_include" from INSTALL_INTERFACE
This commit is contained in:
Alejandro Saucedo 2021-09-29 18:11:29 +01:00 committed by GitHub
commit 304ed846d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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