diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-07-05 16:45:22 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-07-05 16:45:22 +0400 |
commit | 79d185f9fa6a6758338768a70a2675eccbb4d4e0 (patch) | |
tree | 297ce69ba12fcf5385c86518e8326fec71f4312e /tests/CMakeLists.txt | |
parent | 1b3a5deec5f95b330726db96540048e92df07513 (diff) | |
download | mariadb-git-79d185f9fa6a6758338768a70a2675eccbb4d4e0.tar.gz |
Fix compilation: tests/async_queries links againist client library, and
must use C++ linking due to client library using SSL library, which needs
C++ linking
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0acad6bf30b..a43caf5b4f3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -34,4 +34,6 @@ FIND_LIBRARY(EVENT_LIBRARY event) IF(HAVE_EVENT_H AND EVENT_LIBRARY) ADD_EXECUTABLE(async_queries async_queries.c) TARGET_LINK_LIBRARIES(async_queries mysqlclient ${EVENT_LIBRARY}) + SET_TARGET_PROPERTIES(async_queries PROPERTIES LINKER_LANGUAGE CXX) + ENDIF() |