CMake: fix buildCMake: fix build..
authorKim Kulling <kim.kulling@googlemail.com>
Sat, 10 Sep 2016 06:48:01 +0000 (08:48 +0200)
committerKim Kulling <kim.kulling@googlemail.com>
Sat, 10 Sep 2016 06:48:01 +0000 (08:48 +0200)
CMakeLists.txt
code/CMakeLists.txt
tools/assimp_qt_viewer/main.cpp

index 5105e3a..82706a4 100644 (file)
@@ -275,7 +275,6 @@ ENDIF ( ASSIMP_BUILD_COMPILER STREQUAL "")
 
 MARK_AS_ADVANCED ( ASSIMP_BUILD_ARCHITECTURE ASSIMP_BUILD_COMPILER )
 
-
 SET ( ASSIMP_BUILD_NONFREE_C4D_IMPORTER OFF CACHE BOOL
   "Build the C4D importer, which relies on the non-free Melange SDK."
 )
index 3efd832..8b3d237 100644 (file)
@@ -617,8 +617,6 @@ ADD_ASSIMP_IMPORTER( 3MF
     D3MFOpcPackage.h
     D3MFOpcPackage.cpp
 )
-SOURCE_GROUP( 3MF FILES ${(3MF_SRCS})
-
 
 SET( Step_SRCS
   StepExporter.h
@@ -662,7 +660,6 @@ SET( Clipper_SRCS
 )
 SOURCE_GROUP( Clipper FILES ${Clipper_SRCS})
 
-
 SET( Poly2Tri_SRCS
   ../contrib/poly2tri/poly2tri/common/shapes.cc
   ../contrib/poly2tri/poly2tri/common/shapes.h
index fa6f51b..f9f35df 100644 (file)
 // Header files, Qt.
 #include <QApplication>
 
-int main(int argc, char *argv[])
-{
-QApplication a(argc, argv);
-MainWindow w;
+int main(int argc, char *argv[]) {
+    QApplication a(argc, argv);
+    MainWindow w;
+    w.show();
 
-       w.show();
-
-       return a.exec();
+    return a.exec();
 }