Skip to content
Snippets Groups Projects
Commit e372b4a4 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: fix linking of SPTW (detected because of linker flag -Wl,--no-undefined)

parent 0ef3ab7c
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ otb_module(OTBSPTW ...@@ -24,6 +24,7 @@ otb_module(OTBSPTW
DEPENDS DEPENDS
OTBMPI OTBMPI
OTBGDAL OTBGDAL
OTBTIFF
TEST_DEPENDS TEST_DEPENDS
......
...@@ -28,7 +28,11 @@ set(OTBSPTW_MAIN_SRCS sptw.cc) ...@@ -28,7 +28,11 @@ set(OTBSPTW_MAIN_SRCS sptw.cc)
add_library(otbSPTW ${OTBSPTW_MAIN_SRCS}) add_library(otbSPTW ${OTBSPTW_MAIN_SRCS})
target_link_libraries(otbSPTW) target_link_libraries(otbSPTW
${OTBMPI_LIBRARIES}
${OTBGDAL_LIBRARIES}
${OTBTIFF_LIBRARIES}
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_SOURCE_DIR})
#Install TARGET & FILES for otb-lib #Install TARGET & FILES for otb-lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment