From c2b505c16ee6b24d9574cff2257adb810c8fb476 Mon Sep 17 00:00:00 2001 From: unexploredtest Date: Mon, 3 May 2021 15:28:35 +0430 Subject: [PATCH 1/2] Fixed the issue that caused CMake to look a non-existance path --- src/CMakeLists.txt | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c1ab2d3e..c8ff2449 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -51,12 +51,24 @@ endif() target_include_directories( kompute PUBLIC - $ - $ - $ - $ + ${CMAKE_CURRENT_SOURCE_DIR}/include + ${PROJECT_SOURCE_DIR}/single_include ) +# To build the Android example without installing Vulkan Kompute, +# We need to specify the paths for include directories directly +# NOTE: This is a temporary fix +if(KOMPUTE_OPT_ANDOID_BUILD) + target_include_directories( + kompute PUBLIC + $ + $ + $ + $ + ) +endif() + + if(NOT KOMPUTE_OPT_ANDOID_BUILD) target_link_libraries( kompute From b0bca974e175c76e3debeb4be406d5411a36fc53 Mon Sep 17 00:00:00 2001 From: unexploredtest Date: Mon, 3 May 2021 22:45:42 +0430 Subject: [PATCH 2/2] removed explicit include dir for android --- src/CMakeLists.txt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c8ff2449..9b2b2d43 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,19 +55,6 @@ target_include_directories( ${PROJECT_SOURCE_DIR}/single_include ) -# To build the Android example without installing Vulkan Kompute, -# We need to specify the paths for include directories directly -# NOTE: This is a temporary fix -if(KOMPUTE_OPT_ANDOID_BUILD) - target_include_directories( - kompute PUBLIC - $ - $ - $ - $ - ) -endif() - if(NOT KOMPUTE_OPT_ANDOID_BUILD) target_link_libraries(