From: Mattia Rizzolo Date: Tue, 26 Aug 2014 16:50:52 +0000 (+0200) Subject: debian/patches/modify_cmake_for_debian: also install Misc/ErrorResultCollector.h... X-Git-Url: https://git.donarmstrong.com/?p=flightcrew.git;a=commitdiff_plain;h=e771dd93e062d21201ccce0a41d25eedcaf8fc57;hp=3725454049de21db1563a73cab5b831071937828 debian/patches/modify_cmake_for_debian: also install Misc/ErrorResultCollector.h ResultId.h and ResultType.h --- diff --git a/debian/patches/modify_cmake_for_debian b/debian/patches/modify_cmake_for_debian index 4e89d4b..60cbab3 100644 --- a/debian/patches/modify_cmake_for_debian +++ b/debian/patches/modify_cmake_for_debian @@ -79,7 +79,7 @@ Last-Update: 2014-08-26 +SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINK_FLAGS -Wl,--as-needed) +target_link_libraries( ${PROJECT_NAME} ${LIB_ZLIB} ${BOOST_DT} ${BOOST_FS} ${BOOST_PO} ${BOOST_RE} ${BOOST_S} ${BOOST_T} zipios ${LIB_XERCES} XercesExtensions ${PTHREAD} ) +INSTALL(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib COMPONENT libraries) -+INSTALL(FILES flightcrew.h exception.h DllExporting.h Result.h DESTINATION include/${PROJECT_NAME}) ++INSTALL(FILES flightcrew.h exception.h DllExporting.h Result.h Misc/ErrorResultCollector.h ResultId.h ResultType.h DESTINATION include/${PROJECT_NAME}) #############################################################################