]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/CMakeLists.txt
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / CMakeLists.txt
index 6c3c3955f7b6456ccd7e0177f97e12e327fd6ca6..ed74ba0d8d0f23b2935a0c4e265a6c685a66c5f7 100644 (file)
@@ -35,10 +35,17 @@ IF ( BUILD_${LIBRARY_NAME} )
   #   
   #    )
   #----------------------------------------------------------------------------
+
+
+message (ERROR "EED CMAKE libreria manager interface creaContours ${creaEnvironment_LIBRARIES}")
+
+
   #----------------------------------------------------------------------------
   # LIBRARY DEPENDENCIES (LIBRARIES TO LINK WITH)
   SET ( ${LIBRARY_NAME}_LINK_LIBRARIES
-       #kernel_ManagerContour_NDimensions_lib
+       kernel_ManagerContour_NDimensions_lib
+    Interface_Icons_NDimensions_lib
+    ${creaEnvironment_LIBRARIES}                       
     ${crea_LIBRARIES}
     ${WXWIDGETS_LIBRARIES}
     ${VTK_LIBRARIES}
@@ -58,5 +65,22 @@ IF ( BUILD_${LIBRARY_NAME} )
   # LINK
   TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES})
 
+  
   #---------------------------------------------------------------------------
-ENDIF ( BUILD_${LIBRARY_NAME} )
\ No newline at end of file
+  
+  
+   # INSTALLS LIBRARY
+  INSTALL(
+    FILES ${${LIBRARY_NAME}_HEADERS}
+    DESTINATION ${${LIBRARY_NAME_BASE}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS}
+    ) 
+
+  INSTALL(
+      TARGETS ${LIBRARY_NAME}
+      DESTINATION ${CMAKE_CREA_LIB_PATH} 
+  )
+  
+  #---------------------------------------------------------------------------
+  
+ENDIF ( BUILD_${LIBRARY_NAME} )