Parcourir la source

disable samples per default.

Kim Kulling il y a 6 ans
Parent
commit
4ad2368116
2 fichiers modifiés avec 1 ajouts et 3 suppressions
  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
 OPTION ( ASSIMP_BUILD_SAMPLES
   "If the official samples are built as well (needs Glut)."
   "If the official samples are built as well (needs Glut)."
-  ON
+  OFF
 )
 )
 OPTION ( ASSIMP_BUILD_TESTS
 OPTION ( ASSIMP_BUILD_TESTS
   "If the test suite for Assimp is built in addition to the library."
   "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 )
 IF ( MSVC )
   SET(M_LIB)
   SET(M_LIB)
-ELSE ( MSVC )
-  find_library(M_LIB m)
 ENDIF ( MSVC )
 ENDIF ( MSVC )
 
 
 if ( MSVC )
 if ( MSVC )