Browse Source

disable samples per default.

Kim Kulling 6 years ago
parent
commit
4ad2368116
2 changed files with 1 additions and 3 deletions
  1. 1 1
      CMakeLists.txt
  2. 0 2
      samples/SimpleTexturedDirectx11/CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -90,7 +90,7 @@ OPTION( ASSIMP_BUILD_ASSIMP_TOOLS
 )
 OPTION ( ASSIMP_BUILD_SAMPLES
   "If the official samples are built as well (needs Glut)."
-  ON
+  OFF
 )
 OPTION ( ASSIMP_BUILD_TESTS
   "If the test suite for Assimp is built in addition to the library."

+ 0 - 2
samples/SimpleTexturedDirectx11/CMakeLists.txt

@@ -2,8 +2,6 @@ FIND_PACKAGE(DirectX)
 
 IF ( MSVC )
   SET(M_LIB)
-ELSE ( MSVC )
-  find_library(M_LIB m)
 ENDIF ( MSVC )
 
 if ( MSVC )