Browse Source

add anttweakbar

Former-commit-id: f29b12a2fbc44fa3e41e65de409e4af425a57f19
Alec Jacobson 10 years ago
parent
commit
8fab8176ae
1 changed files with 9 additions and 3 deletions
  1. 9 3
      optional/CMakeLists.txt

+ 9 - 3
optional/CMakeLists.txt

@@ -117,20 +117,26 @@ file(GLOB SOURCES
 
 add_library(igl STATIC ${SOURCES})
 
+#### Compile the AntTweakBar part
+if (ANTTWEAKBAR_FOUND)
+  file(GLOB SOURCES_ANTTWEAKBAR
+    "${PROJECT_SOURCE_DIR}/include/igl/anttweakbar/*.cpp"
+  )
+add_library(iglanttweakbar STATIC ${SOURCES_ANTTWEAKBAR})
+endif (ANTTWEAKBAR_FOUND)
+
 #### Compile the BBW part
 
 file(GLOB SOURCES_BBW
   "${PROJECT_SOURCE_DIR}/include/igl/bbw/*.cpp"
 )
-
 add_library(iglbbw STATIC ${SOURCES_BBW})
 
-#### Compile the mosek part (untested)
+#### Compile the mosek part
 if (MOSEK_FOUND)
   file(GLOB SOURCES_MOSEK
     "${PROJECT_SOURCE_DIR}/include/igl/mosek/*.cpp"
   )
-
 add_library(iglmosek STATIC ${SOURCES_MOSEK})
 endif (MOSEK_FOUND)