Fix OS X build following libpng upgrade
This commit is contained in:
parent
15ce5b4ebf
commit
e4f2d0b1d5
@ -38,10 +38,6 @@ set(PNGLIB_RELEASE 28)
|
||||
set(PNGLIB_NAME libpng${PNGLIB_MAJOR}${PNGLIB_MINOR})
|
||||
set(PNGLIB_VERSION ${PNGLIB_MAJOR}.${PNGLIB_MINOR}.${PNGLIB_RELEASE})
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch x86_64")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -F/Library/Frameworks")
|
||||
endif()
|
||||
|
||||
# Needed packages. Since WIN32 (except mingw) uses the included zlib
|
||||
# version, find_package would fail with an error message. Since
|
||||
|
Loading…
Reference in New Issue
Block a user