Build: fix cmake warning: inconsistent name for if-endif.
authorKim Kulling <kim.kulling@googlemail.com>
Tue, 17 Jan 2017 15:21:16 +0000 (16:21 +0100)
committerKim Kulling <kim.kulling@googlemail.com>
Tue, 17 Jan 2017 15:21:16 +0000 (16:21 +0100)
CMakeLists.txt

index a8f3d24..8aaaf36 100644 (file)
@@ -335,7 +335,7 @@ IF ( ASSIMP_BUILD_ASSIMP_TOOLS )
     IF ( ASSIMP_BUILD_ASSIMP_VIEW )
       ADD_SUBDIRECTORY( tools/assimp_view/ )
     ENDIF ( ASSIMP_BUILD_ASSIMP_VIEW )
-  ENDIF ( WIN32 )
+  ENDIF ( WIN32 AND DirectX_D3DX9_LIBRARY )
 
   ADD_SUBDIRECTORY( tools/assimp_cmd/ )