--- libmariadb/include/CMakeLists.txt.orig	2017-05-14 23:13:15 UTC
+++ libmariadb/include/CMakeLists.txt
@@ -21,6 +21,7 @@ IF(WIN32)
   SET(WIX_INCLUDES ${MARIADB_CLIENT_INCLUDES} ${MARIADB_ADDITIONAL_INCLUDES} ${MYSQL_ADDITIONAL_INCLUDES} PARENT_SCOPE)
 ENDIF()
 
+IF(NOT WITHOUT_CLIENT)
 INSTALL(FILES
    ${MARIADB_CLIENT_INCLUDES}
    DESTINATION ${INSTALL_INCLUDEDIR}
@@ -33,3 +34,4 @@ INSTALL(FILES
    ${MARIADB_ADDITIONAL_INCLUDES}
    DESTINATION ${INSTALL_INCLUDEDIR}/mariadb
    COMPONENT Development)
+ENDIF()
