From 5d77e2c4e872f98fef31cd28d86a582a1764ca56 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Tue, 20 Oct 2009 09:55:39 +0200 Subject: [PATCH] COMP: Adding platform dependent lib to visualisation targets --- Code/Gui/CMakeLists.txt | 2 +- Code/Visu/CMakeLists.txt | 2 +- Code/Visualization/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Gui/CMakeLists.txt b/Code/Gui/CMakeLists.txt index d60c77ed64..852d1cc3af 100644 --- a/Code/Gui/CMakeLists.txt +++ b/Code/Gui/CMakeLists.txt @@ -12,7 +12,7 @@ ENDIF(APPLE AND BUILD_SHARED_LIBS) ADD_LIBRARY(OTBGui ${OTBGui_SRCS}) -TARGET_LINK_LIBRARIES (OTBGui OTBCommon ${FLTK_LIBRARIES}) +TARGET_LINK_LIBRARIES (OTBGui OTBCommon ${OTB_VISU_GUI_LIBRARIES}) IF(OTB_LIBRARY_PROPERTIES) SET_TARGET_PROPERTIES(OTBGui PROPERTIES ${OTB_LIBRARY_PROPERTIES}) ENDIF(OTB_LIBRARY_PROPERTIES) diff --git a/Code/Visu/CMakeLists.txt b/Code/Visu/CMakeLists.txt index 43d6b4d11c..d43a587b5d 100644 --- a/Code/Visu/CMakeLists.txt +++ b/Code/Visu/CMakeLists.txt @@ -10,7 +10,7 @@ IF(APPLE AND BUILD_SHARED_LIBS) ENDIF(APPLE AND BUILD_SHARED_LIBS) ADD_LIBRARY(OTBVisu ${OTBVisu_SRCS}) -TARGET_LINK_LIBRARIES (OTBVisu OTBGui OTBCommon ${FLTK_LIBRARIES} ${OPENGL_LIBRARIES}) +TARGET_LINK_LIBRARIES (OTBVisu OTBGui OTBCommon ${OTB_VISU_GUI_LIBRARIES}) IF(OTB_LIBRARY_PROPERTIES) SET_TARGET_PROPERTIES(OTBVisu PROPERTIES ${OTB_LIBRARY_PROPERTIES}) ENDIF(OTB_LIBRARY_PROPERTIES) diff --git a/Code/Visualization/CMakeLists.txt b/Code/Visualization/CMakeLists.txt index 1e9a037515..9bfc18f098 100644 --- a/Code/Visualization/CMakeLists.txt +++ b/Code/Visualization/CMakeLists.txt @@ -12,7 +12,7 @@ ENDIF(APPLE AND BUILD_SHARED_LIBS) FLTK_WRAP_UI(OTBVisualization otbImageWidgetPackedManager.fl otbImageWidgetSplittedManager.fl) ADD_LIBRARY(OTBVisualization ${OTBVisualization_SRCS} ${OTBVisualization_FLTK_UI_SRCS}) -TARGET_LINK_LIBRARIES (OTBVisualization OTBGui OTBCommon ${FLTK_LIBRARIES} ${OPENGL_LIBRARIES}) +TARGET_LINK_LIBRARIES (OTBVisualization OTBGui OTBCommon ${OTB_VISU_GUI_LIBRARIES}) IF(OTB_LIBRARY_PROPERTIES) SET_TARGET_PROPERTIES(OTBVisualization PROPERTIES ${OTB_LIBRARY_PROPERTIES}) ENDIF(OTB_LIBRARY_PROPERTIES) -- GitLab