made crypto++ compile on osx with some black magic compiler args
This commit is contained in:
parent
d0081ebd7a
commit
6a1dd395e1
|
@ -22,4 +22,9 @@ if (WIN32)
|
|||
list(APPEND cpp_src ${cpp_hdr})
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
# osx goes bat-shit crazy if we dont use these magical arguments.
|
||||
set (CMAKE_CXX_FLAGS "-O2 -DCRYPTOPP_DISABLE_ASM -pipe -Wno-tautological-compare")
|
||||
endif()
|
||||
|
||||
add_library(cryptopp STATIC ${cpp_src})
|
||||
|
|
Loading…
Reference in New Issue