diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c1ab2d3eb..c8ff2449f 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