cmake: second attempt to install our ssrfmarble lib

Sorry for the noise.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-04-05 21:10:40 -07:00
parent f8a01ee309
commit 143ecbf7a2

View file

@ -578,6 +578,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
install(FILES ${TRANSLATIONS} DESTINATION share/subsurface/translations)
install(TARGETS ${SUBSURFACE_TARGET} DESTINATION bin)
IF(DEFINED LIBMARBLEDEVEL)
install(FILES ${LIBMARBLEDEVEL}/lib/libssrfmarblewidget.so* DESTINATION lib)
install(
CODE "file(GLOB SSRFMARBLE_SHLIBS \"${LIBMARBLEDEVEL}/lib/libssrfmarblewidget.so*\")"
CODE "file(INSTALL \${SSRFMARBLE_SHLIBS} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)"
)
ENDIF()
ENDIF()