X-Git-Url: https://git.donarmstrong.com/?p=flightcrew.git;a=blobdiff_plain;f=debian%2Fpatches%2Fmodify_cmake_for_debian;fp=debian%2Fpatches%2Fmodify_cmake_for_debian;h=60cbab3bc530ae2ee2a8578f492a8e0dcfa56bea;hp=4e89d4b45e853ab742635499484077881924526c;hb=e771dd93e062d21201ccce0a41d25eedcaf8fc57;hpb=3725454049de21db1563a73cab5b831071937828 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}) #############################################################################