Browse Source

Enable Viewer only for VS-Builds

Kim Kulling 4 years ago
parent
commit
a71baaeedf
1 changed files with 4 additions and 4 deletions
  1. 4 4
      CMakeLists.txt

+ 4 - 4
CMakeLists.txt

@@ -135,11 +135,11 @@ IF ( WIN32 )
   # Use subset of Windows.h
   # Use subset of Windows.h
   ADD_DEFINITIONS( -DWIN32_LEAN_AND_MEAN )
   ADD_DEFINITIONS( -DWIN32_LEAN_AND_MEAN )
 
 
-  OPTION ( ASSIMP_BUILD_ASSIMP_VIEW
-    "If the Assimp view tool is built. (requires DirectX)"
-    OFF )
-
   IF(MSVC)
   IF(MSVC)
+    OPTION ( ASSIMP_BUILD_ASSIMP_VIEW
+      "If the Assimp view tool is built. (requires DirectX)"
+      OFF )
+
     OPTION( ASSIMP_INSTALL_PDB
     OPTION( ASSIMP_INSTALL_PDB
       "Install MSVC debug files."
       "Install MSVC debug files."
       ON )
       ON )