Commit ed721cd7 authored by Otmane Lahlou's avatar Otmane Lahlou

ENH: link with the right libraries after repository re-organization

parent e58122ac
......@@ -69,7 +69,6 @@ add_library(Monteverdi2_Core
#############################################################################
target_link_libraries(Monteverdi2_Core
OTBIO
OTBApplicationEngine
Qt4::QtCore
Qt4::QtXml
)
......
......@@ -105,6 +105,7 @@ add_library(Monteverdi2_Gui
#############################################################################
target_link_libraries(Monteverdi2_Gui
Monteverdi2_Core
OTBApplicationEngine
${OPENGL_LIBRARIES}
#Qt4::QtCore
Qt4::QtGui
......
......@@ -28,4 +28,4 @@ mvdMonteverdi2ApplicationTest.cxx
)
add_executable(mvdApplicationTests mvdApplicationTests.cxx ${Application_SRCS})
target_link_libraries(mvdApplicationTests Monteverdi2_Application OTBTesting)
target_link_libraries(mvdApplicationTests Monteverdi2_Viewer OTBTesting)
......@@ -14,9 +14,9 @@ include_directories(
${Monteverdi2_BINARY_DIR}
${Monteverdi2_SOURCE_DIR}/Code/Application/Viewer
${Monteverdi2_SOURCE_DIR}/Code/Common
${Monteverdi2_BINARY_DIR}/Code/Common
${Monteverdi2_SOURCE_DIR}/Code/Common/Gui
${Monteverdi2_BINARY_DIR}/Code/Common/Core
)
# add source files
......@@ -45,7 +45,7 @@ add_test(apTvMonteverdi2FillToolBoxTree ${Common_TESTS}
add_executable(mvdCommonTests mvdCommonTests.cxx ${Common_SRCS})
target_link_libraries(mvdCommonTests Monteverdi2_Common OTBTesting)
target_link_libraries(mvdCommonTests Monteverdi2_Gui Monteverdi2_Core OTBTesting)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment