diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2009-12-25 03:22:23 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2009-12-25 03:22:23 +0100 |
commit | f2d4808fbb5fefe94c0e91274e786e07670e847c (patch) | |
tree | f9b643aee20336b270fe169223d80877cbadcc86 /cmake/ssl.cmake | |
parent | 99c9c3bcf231a09ce2feb7abbacda193f59acf61 (diff) | |
download | mariadb-git-f2d4808fbb5fefe94c0e91274e786e07670e847c.tar.gz |
enable Cygwin build again
Diffstat (limited to 'cmake/ssl.cmake')
-rw-r--r-- | cmake/ssl.cmake | 2 |
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}) |