]> Creatis software - creaBruker.git/blobdiff - CMakeLists.txt
don't add wxwidgets.
[creaBruker.git] / CMakeLists.txt
index d127a67d68004d1b28467c9aba749b592ed58361..2f42bb54c94701526268423ddd071a6e6b410df5 100644 (file)
@@ -60,7 +60,8 @@ SET(USE_CREA      ON)
 OPTION(USE_GDCM   "Use GDCM"   ON)
 SET(USE_GDCM_VTK  ON)
 OPTION(USE_GDCM2  "Use gdcm 2.0.14 at least"   OFF)
-SET(USE_WXWIDGETS OFF)
+# No interface for the moment, don't allow to add useless libraries
+SET(USE_WXWIDGETS OFF CACHE BOOL "Use wxWidgets" FORCE)
 SET(USE_KWWIDGETS OFF)
 SET(USE_VTK       OFF)
 SET(USE_ITK       OFF)