]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/CMakeLists.txt
Fixed the bug with the Ubuntu 64 latest version, by modifying the
[creaContours.git] / appli / wxContourGUIExample / CMakeLists.txt
index 22137635a831f826960bb971952000094e86651e..dbec9baf05554030664696fbb550e81c2d62f4b7 100644 (file)
@@ -1,26 +1,29 @@
 
 IF(WIN32)
   #MESSAGE("WIN32")
-  ADD_EXECUTABLE(wxContourGUIExample WIN32 wxContourGUIExample.cxx)  
-  SET_TARGET_PROPERTIES(wxContourGUIExample PROPERTIES LINK_FLAGS /subsystem:console )
+  ADD_EXECUTABLE(creaContourApp WIN32 wxContourGUIExample.cxx)  
+  SET_TARGET_PROPERTIES(creaContourApp PROPERTIES LINK_FLAGS /subsystem:console )
 ELSE(WIN32)
-  ADD_EXECUTABLE(wxContourGUIExample MACOSX_BUNDLE wxContourGUIExample)
+  ADD_EXECUTABLE(creaContourApp MACOSX_BUNDLE wxContourGUIExample)
 ENDIF(WIN32)
 
 INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
 INCLUDE_DIRECTORIES(${creaImageIO2_INCLUDE_DIRS})
 
-TARGET_LINK_LIBRARIES( wxContourGUIExample
+
+TARGET_LINK_LIBRARIES( creaContourApp
 #                     ${WXWIDGETS_LIBRARIES}
                       ${VTK_LIBRARIES}
-                      ${ITK_LIBRARIES}
+
                       ${creaEnvironment_LIBRARIES}
-                      ${creaMaracasVisu_LIBRARIES}
-                      ${creaImageIO2_LIBRARIES}
+                      ${creaImageIO_LIBRARIES}
                        Interface_Icons_NDimensions_lib
                        Interface_ManagerContour_NDimensions_lib
-                       kernel_ManagerContour_NDimensions_lib                   
+                      ${BOOST_LIBRARIES}
 
+                      ${ITK_LIBRARIES}
+                      ${creaMaracasVisu_LIBRARIES}
+                       kernel_ManagerContour_NDimensions_lib
                      )
 
-INSTALL_TARGETS(/bin/ wxContourGUIExample )
+INSTALL_TARGETS(/bin/ creaContourApp )