Usinging the more compatible add_definitions(), as add_compile_definitions() is from 3.12
This commit is contained in:
parent
61053d633d
commit
34433beabf
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ endif()
|
|||
|
||||
# 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)
|
||||
add_definitions(-DUSE_EXTERNAL_GLSLANG)
|
||||
endif()
|
||||
|
||||
# Allow scripts to call main kompute Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue