We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214380f commit c4922beCopy full SHA for c4922be
test/CMakeLists.txt
@@ -5,10 +5,15 @@ add_executable(
5
tests
6
loader_api.cpp
7
loader_validation_layer.cpp
8
- driver_ordering_unit_tests.cpp
9
driver_ordering_helper_tests.cpp
10
)
11
+# Only include driver_ordering_unit_tests for static builds or non-Windows platforms
12
+# as it requires internal loader symbols that are not exported in Windows DLLs
13
+if(BUILD_STATIC OR NOT WIN32)
14
+ target_sources(tests PRIVATE driver_ordering_unit_tests.cpp)
15
+endif()
16
+
17
# For static builds, we need to include the loader source files directly
18
# since they are not built into the library when BUILD_STATIC=1
19
if(BUILD_STATIC)
0 commit comments