Skip to content
Snippets Groups Projects
Commit fe2bc563 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: missing so properties causing failure of the debian package generation

parent f696af11
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,13 @@ file(GLOB srcs "*.cxx")
add_library(OTBWrapperCommandLine ${srcs})
target_link_libraries(OTBWrapperCommandLine OTBApplicationEngine)
IF(OTB_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(OTBWrapperCommandLine PROPERTIES ${OTB_LIBRARY_PROPERTIES})
ENDIF(OTB_LIBRARY_PROPERTIES)
install(TARGETS OTBWrapperCommandLine
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR_CM24}
LIBRARY DESTINATION ${OTB_INSTALL_LIB_DIR_CM24}
ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR_CM24})
\ No newline at end of file
......@@ -23,6 +23,12 @@ QT4_WRAP_CPP(WrappersQtWidget_MOC_SRC ${WrappersQtWidget_MOC_HDR})
add_library(OTBWrapperQtWidget ${srcs} ${WrappersQtWidget_MOC_SRC})
target_link_libraries(OTBWrapperQtWidget OTBApplicationEngine ${QT_LIBRARIES})
IF(OTB_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(OTBWrapperCommandLine PROPERTIES ${OTB_LIBRARY_PROPERTIES})
ENDIF(OTB_LIBRARY_PROPERTIES)
install(TARGETS OTBWrapperQtWidget
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR_CM24}
LIBRARY DESTINATION ${OTB_INSTALL_LIB_DIR_CM24}
......
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