You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
557 B
14 lines
557 B
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
|
|
index eb4e69e..3155805 100644
|
|
--- a/external/CMakeLists.txt
|
|
+++ b/external/CMakeLists.txt
|
|
@@ -72,7 +72,8 @@ if (SPIRV_TOOLS_USE_MIMALLOC)
|
|
pop_variable(MI_BUILD_TESTS)
|
|
endif()
|
|
|
|
-if (DEFINED SPIRV-Headers_SOURCE_DIR)
|
|
+# NetBSD doesn't have SPIRV-Headers readily available on system
|
|
+if (DEFINED SPIRV-Headers_SOURCE_DIR AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "NetBSD")
|
|
# This allows flexible position of the SPIRV-Headers repo.
|
|
set(SPIRV_HEADER_DIR ${SPIRV-Headers_SOURCE_DIR})
|
|
else()
|