diff --git a/modules/shader_compiler/config/JSON-C.cmake b/modules/shader_compiler/config/JSON-C.cmake index bf864bb240a5044d55c49dd125b43eaa1497735f..eb8b6ab74a2614b80db033fd399ca10324ed0615 100644 --- a/modules/shader_compiler/config/JSON-C.cmake +++ b/modules/shader_compiler/config/JSON-C.cmake @@ -4,8 +4,8 @@ use_git_submodule("${vkcv_shader_compiler_lib_path}/json-c" json_c_status) if (${json_c_status}) add_subdirectory(${vkcv_shader_compiler_lib}/json-c) - set(JSON_C_INCLUDE_DIR ${vkcv_shader_compiler_lib}) + set(JSON_C_INCLUDE_DIR ${vkcv_shader_compiler_lib_path}) list(APPEND vkcv_shader_compiler_libraries json-c) - list(APPEND vkcv_shader_compiler_includes ${JSON_C_INCLUDE_DIR}) + list(APPEND vkcv_shader_compiler_includes ${vkcv_shader_compiler_lib}) endif ()