Skip to content
Snippets Groups Projects
Verified Commit 53ba48e8 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Fix shady include dir of json-c

parent 236d426c
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,9 @@ use_git_submodule("${vkcv_shader_compiler_lib_path}/json-c" json_c_status) ...@@ -3,7 +3,9 @@ use_git_submodule("${vkcv_shader_compiler_lib_path}/json-c" json_c_status)
if (${json_c_status}) if (${json_c_status})
add_subdirectory(${vkcv_shader_compiler_lib}/json-c) add_subdirectory(${vkcv_shader_compiler_lib}/json-c)
set(JSON_C_INCLUDE_DIR ${vkcv_shader_compiler_lib})
list(APPEND vkcv_shader_compiler_libraries json-c) list(APPEND vkcv_shader_compiler_libraries json-c)
list(APPEND vkcv_shader_compiler_includes ${vkcv_shader_compiler_lib}) list(APPEND vkcv_shader_compiler_includes ${JSON_C_INCLUDE_DIR})
endif () endif ()
...@@ -6,6 +6,8 @@ if (${shady_status}) ...@@ -6,6 +6,8 @@ if (${shady_status})
set(EXTERNAL_SPIRV_HEADERS ON CACHE INTERNAL "") set(EXTERNAL_SPIRV_HEADERS ON CACHE INTERNAL "")
set(EXTERNAL_MURMUR3 ON CACHE INTERNAL "") set(EXTERNAL_MURMUR3 ON CACHE INTERNAL "")
set(EXTERNAL_JSON_C_INCLUDE ${JSON_C_INCLUDE_DIR} CACHE INTERNAL "")
add_subdirectory(${vkcv_shader_compiler_lib}/shady) add_subdirectory(${vkcv_shader_compiler_lib}/shady)
if (vkcv_build_attribute EQUAL "SHARED") if (vkcv_build_attribute EQUAL "SHARED")
......
Subproject commit defbe9e83bc4d3a5f1a5ecf5ec10db449442761a Subproject commit 07ad7b174107269ae1c690ae6f11fa79ed0d42aa
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment