File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -484,10 +484,10 @@ if(NBL_STATIC_BUILD)
484
484
else ()
485
485
target_link_libraries (Nabla PRIVATE SPIRV SPIRV-Tools SPIRV-Tools-opt )
486
486
endif ()
487
- target_include_directories (Nabla PUBLIC
488
- "${THIRD_PARTY_SOURCE_DIR} /dxc/dxc/include"
489
- " ${THIRD_PARTY_SOURCE_DIR} /dxc/dxc/external/ SPIRV-Tools/include"
490
- " ${THIRD_PARTY_SOURCE_DIR} /dxc/dxc/external/ SPIRV-Headers/include"
487
+ target_include_directories (Nabla BEFORE
488
+ PRIVATE "${THIRD_PARTY_SOURCE_DIR} /dxc/dxc/include"
489
+ PRIVATE $< TARGET_PROPERTY: SPIRV-Tools-static,INCLUDE_DIRECTORIES >
490
+ PRIVATE $< TARGET_PROPERTY: SPIRV-Headers,INCLUDE_DIRECTORIES >
491
491
)
492
492
493
493
# nlohmann_json
Original file line number Diff line number Diff line change 1
1
#include " nbl/asset/utils/ISPIRVOptimizer.h"
2
-
3
- // quick fix to look for our SPIRV headers not from vulkan sdk
4
- #include " SPIRV-Tools/include/spirv-tools/optimizer.hpp"
2
+ #include " spirv-tools/optimizer.hpp"
5
3
6
4
#include " nbl/core/declarations.h"
7
5
#include " nbl/core/IReferenceCounted.h"
You can’t perform that action at this time.
0 commit comments