]> Creatis software - creaBruker.git/commitdiff
don't add wxwidgets.
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Tue, 23 Nov 2010 10:13:14 +0000 (10:13 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Tue, 23 Nov 2010 10:13:14 +0000 (10:13 +0000)
CMakeLists.txt
lib/src1/bruker2dicom.cxx

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)
index 8ac2129b0de2295420f5f5e902cac9f002fc028d..daf97a8fdcdc2159b34b43a395013f93f289a7af 100644 (file)
@@ -510,13 +510,13 @@ void Bruker2Dicom::DealWithNiveau2(std::string &level2Directory, std::string &cu
                     GDCM_NAME_SPACE::GDCM_FILESEPARATOR +
                    "isa";
 
-          std::string str_isa_func_name
+          std::string str_isa_func_name;
           canOpen = br_isa.LoadFile(str_isa);
           if (!canOpen)
           {
              sprintf(outputDirName, "%s%c%s", currentOutputDirName.c_str(), 
                                           GDCM_NAME_SPACE::GDCM_FILESEPARATOR,
-                                          GDCM_NAME_SPACE::Util::GetName(*it).c_str() )
+                                          GDCM_NAME_SPACE::Util::GetName(*it).c_str() );
           }
           else
           {