fixed crypto++ build errors for osx 10.6
This commit is contained in:
parent
530b68fc19
commit
0f60fdbd9e
|
@ -53,7 +53,6 @@ if (UNIX)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -pipe")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -pipe")
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -arch i386")
|
|
||||||
if (DARWIN_VERSION GREATER 10)
|
if (DARWIN_VERSION GREATER 10)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-tautological-compare")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-tautological-compare")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue