removed dynamic library installation when building non-static versions

This commit is contained in:
Markus Makela 2014-09-16 17:26:30 +03:00
parent be057a4eef
commit 29bcab368b

View File

@ -85,9 +85,14 @@ endif()
message(STATUS "Installing MaxScale to: ${CMAKE_INSTALL_PREFIX}/")
install(FILES server/test/MaxScale_test.cnf RENAME MaxScale.cnf DESTINATION etc)
install(FILES ${ERRMSG} DESTINATION mysql)
install(FILES ${EMBEDDED_LIB} DESTINATION lib)
install(FILES ${DOCS} DESTINATION Documentation)
if(STATIC_EMBEDDED)
install(FILES ${EMBEDDED_LIB} DESTINATION lib)
endif()
find_program(RPMBUILD rpmbuild)
find_program(DEBBUILD dpkg-buildpackage)