Commit e372b4a4 authored by Guillaume Pasero's avatar Guillaume Pasero

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

parent 0ef3ab7c
......@@ -24,6 +24,7 @@ otb_module(OTBSPTW
DEPENDS
OTBMPI
OTBGDAL
OTBTIFF
TEST_DEPENDS
......
......@@ -28,7 +28,11 @@ set(OTBSPTW_MAIN_SRCS sptw.cc)
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})
#Install TARGET & FILES for otb-lib
......
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