summaryrefslogtreecommitdiff
path: root/cmake/ssl.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-12-25 03:22:23 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-12-25 03:22:23 +0100
commitf2d4808fbb5fefe94c0e91274e786e07670e847c (patch)
treef9b643aee20336b270fe169223d80877cbadcc86 /cmake/ssl.cmake
parent99c9c3bcf231a09ce2feb7abbacda193f59acf61 (diff)
downloadmariadb-git-f2d4808fbb5fefe94c0e91274e786e07670e847c.tar.gz
enable Cygwin build again
Diffstat (limited to 'cmake/ssl.cmake')
-rw-r--r--cmake/ssl.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake
index 44f57899784..2bf9b561bba 100644
--- a/cmake/ssl.cmake
+++ b/cmake/ssl.cmake
@@ -30,8 +30,10 @@ MACRO (MYSQL_USE_BUNDLED_SSL)
#Remove -fno-implicit-templates
#(yassl sources cannot be compiled with it)
SET(SAVE_CXX_FLAGS ${CXX_FLAGS})
+ IF(CMAKE_CXX_FLAGS)
STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS
${CMAKE_CXX_FLAGS})
+ ENDIF()
ADD_SUBDIRECTORY(extra/yassl)
ADD_SUBDIRECTORY(extra/yassl/taocrypt)
SET(CXX_FLAGS ${SAVE_CXX_FLAGS})