Explorar o código

Fixes SKIP_DIRECTX_SAMPLES to actually skip building directx9 and directx10 samples

David Wimsey %!s(int64=11) %!d(string=hai) anos
pai
achega
c395224d16
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Build/CMakeLists.txt

+ 2 - 0
Build/CMakeLists.txt

@@ -338,6 +338,8 @@ if(BUILD_SAMPLES)
     if(WIN32)
 		if(SKIP_DIRECTX_SAMPLES)
 			message("-- Skipping all DirectX samples")
+			set(SKIP_DIRECTX9_SAMPLE ON)
+			set(SKIP_DIRECTX10_SAMPLE ON)
 		else()
 			message("-- Determing if DirectX samples can be built")
 			include(FindDirectX)