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