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