From 61053d633d8e5f1d84bb31a76d33e1291a498824 Mon Sep 17 00:00:00 2001 From: aliPMPAINT Date: Wed, 31 Mar 2021 11:23:16 +0430 Subject: [PATCH] Updating Kompute.hpp --- CMakeLists.txt | 2 +- single_include/kompute/Kompute.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 061883e03..0b1fc5ab6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,7 @@ if(KOMPUTE_OPT_CODE_COVERAGE) ${CODECOV_DIR}html/) endif() -# If glslag was cloned, then SPIRV/GlslangToSpv.h will be used instead of glslang/SPIRV/GlslangToSpv.h +# If glslang was cloned, then SPIRV/GlslangToSpv.h will be used instead of glslang/SPIRV/GlslangToSpv.h if(KOMPUTE_OPT_REPO_SUBMODULE_BUILD) add_compile_definitions(USE_EXTERNAL_GLSLANG) endif() diff --git a/single_include/kompute/Kompute.hpp b/single_include/kompute/Kompute.hpp index d55e3233f..60a85e653 100755 --- a/single_include/kompute/Kompute.hpp +++ b/single_include/kompute/Kompute.hpp @@ -729,7 +729,7 @@ extern py::object kp_debug, kp_info, kp_warning, kp_error; #include #include -#if USE_EXTERNAL_SHADER +#ifdef USE_EXTERNAL_GLSLANG #include #else #include