diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-09-12 17:06:06 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-09-12 17:06:06 +0200 |
commit | 41290e91b7be29ed72b8a41c7b6698ec1d2b96ab (patch) | |
tree | e41d9a9e7859b37570cbf9b85fe23c80652459d7 /storage/spider | |
parent | 9554ef067878c4650ef4b9ad44e0b222cdb313a5 (diff) | |
download | mariadb-git-41290e91b7be29ed72b8a41c7b6698ec1d2b96ab.tar.gz |
Fix CMake warning in spider, in Windows ninja build
Diffstat (limited to 'storage/spider')
-rw-r--r-- | storage/spider/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/spider/CMakeLists.txt b/storage/spider/CMakeLists.txt index 62dfc968579..706b11ac141 100644 --- a/storage/spider/CMakeLists.txt +++ b/storage/spider/CMakeLists.txt @@ -55,6 +55,9 @@ ELSE() DESTINATION ${INSTALL_MYSQLSHAREDIR} COMPONENT Server ) MYSQL_ADD_PLUGIN(spider ${SPIDER_SOURCES} STORAGE_ENGINE MODULE_ONLY MODULE_OUTPUT_NAME "ha_spider") + IF(NOT TARGET spider) + RETURN() + ENDIF() ENDIF() IF(ORACLE_INCLUDE_DIR AND ORACLE_OCI_LIBRARY) |