aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindMySqlClient.cmake
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2017-12-22 13:21:53 -0800
committerGitHub <noreply@github.com>2017-12-22 13:21:53 -0800
commit61cc3ece5f2f0576c0e0cf447a716685a0bcb17c (patch)
tree6423425b55c7efc6ef96441c87b02a4782226a2b /cmake/modules/FindMySqlClient.cmake
parentfb8cfe1310ab8b9f0998f819af3ed7c801470d88 (diff)
parent93c0e562c232e631011342e9181b3c5370bc8f15 (diff)
Merge pull request #13222 from lrusak/ifdef-cleanup-next
more ifdef cleanup and removal
Diffstat (limited to 'cmake/modules/FindMySqlClient.cmake')
-rw-r--r--cmake/modules/FindMySqlClient.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindMySqlClient.cmake b/cmake/modules/FindMySqlClient.cmake
index 7b485778e4..50db58237b 100644
--- a/cmake/modules/FindMySqlClient.cmake
+++ b/cmake/modules/FindMySqlClient.cmake
@@ -46,7 +46,7 @@ find_package_handle_standard_args(MySqlClient
if(MYSQLCLIENT_FOUND)
set(MYSQLCLIENT_LIBRARIES ${MYSQLCLIENT_LIBRARY})
set(MYSQLCLIENT_INCLUDE_DIRS ${MYSQLCLIENT_INCLUDE_DIR})
- set(MYSQLCLIENT_DEFINITIONS -DHAVE_MYSQL=1)
+ set(MYSQLCLIENT_DEFINITIONS -DHAS_MYSQL=1)
if(NOT TARGET MySqlClient::MySqlClient)
add_library(MySqlClient::MySqlClient UNKNOWN IMPORTED)
@@ -62,7 +62,7 @@ if(MYSQLCLIENT_FOUND)
endif()
set_target_properties(MySqlClient::MySqlClient PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${MYSQLCLIENT_INCLUDE_DIR}"
- INTERFACE_COMPILE_DEFINITIONS HAVE_MYSQL=1)
+ INTERFACE_COMPILE_DEFINITIONS HAS_MYSQL=1)
endif()
endif()