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:
commit
304ed846d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue