Disable building of C/C unit tests

The tests aren't run and so they don't have to be built.
This commit is contained in:
Markus Mäkelä 2017-09-12 23:46:07 +03:00
parent 099a482f04
commit fa492764c8

View File

@ -15,7 +15,7 @@ set(MARIADB_CONNECTOR_C_TAG "v3.0.2"
ExternalProject_Add(connector-c
GIT_REPOSITORY ${MARIADB_CONNECTOR_C_REPO}
GIT_TAG ${MARIADB_CONNECTOR_C_TAG}
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/connector-c/install
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/connector-c/install -DWITH_UNITTEST=N -DWITH_CURL=N
BINARY_DIR ${CMAKE_BINARY_DIR}/connector-c
INSTALL_DIR ${CMAKE_BINARY_DIR}/connector-c/install
UPDATE_COMMAND "")