mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
made crypto++ compile on osx with some black magic compiler args
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user