Updated cmake to include spdlog header from folder2

This commit is contained in:
Alejandro Saucedo 2021-02-19 08:20:35 +00:00
parent 9ae3bcac27
commit 4e7f4c8847
2 changed files with 5 additions and 1 deletions

View file

@ -68,7 +68,9 @@ mk_cmake:
-DKOMPUTE_OPT_BUILD_SHADERS=1 \
-DKOMPUTE_OPT_BUILD_SINGLE_HEADER=1 \
-DKOMPUTE_OPT_ENABLE_SPDLOG=1 \
-DSPDLOG_INSTALL=1 \
-DKOMPUTE_OPT_CODE_COVERAGE=1 \
-DSHADERC_SKIP_TESTS=1 \
-G "Unix Makefiles"
mk_build_all:
@ -121,6 +123,8 @@ vs_cmake:
-DKOMPUTE_OPT_BUILD_SHADERS=1 \
-DKOMPUTE_OPT_BUILD_SINGLE_HEADER=1 \
-DKOMPUTE_OPT_ENABLE_SPDLOG=1 \
-DSPDLOG_INSTALL=1 \
-DSHADERC_SKIP_TESTS=1 \
-G "Visual Studio 16 2019"
vs_build_all:

View file

@ -55,7 +55,7 @@ if(KOMPUTE_OPT_REPO_SUBMODULE_BUILD)
target_include_directories(
test_kompute PRIVATE
${shaderc_SOURCE_DIR}/include)
${PROJECT_SOURCE_DIR}/external/shaderc/libshaderc/include)
target_link_libraries(test_kompute PRIVATE
shaderc_combined)