From 80cf9ad154fc6cbf9b4baf3d5cac92e81df630cd Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sun, 27 Mar 2022 17:32:51 -0700 Subject: [PATCH] CMake update --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 750f4e5..d71e4c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,7 +247,7 @@ if(BUILD_TOOLS AND WIN32 AND (NOT WINDOWS_STORE)) endif() #--- DDSView sample -if(BUILD_SAMPLE AND WIN32 AND (NOT WINDOWS_STORE)) +if(BUILD_SAMPLE AND BUILD_DX11 AND WIN32 AND (NOT WINDOWS_STORE)) list(APPEND TOOL_EXES ddsview) add_executable(ddsview WIN32