Commit b6733da9 authored by Jan Möbius's avatar Jan Möbius
Browse files

Add cmake definition when on Darwin

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5685 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dbcb9922
......@@ -10,6 +10,7 @@ if (UNIX)
set (CMAKE_CXX_FLAGS_DEBUG "-g -DINCLUDE_TEMPLATES -ftemplate-depth-100 -W -Wall -Wno-unused -DDEBUG")
if (APPLE)
add_definitions( -DARCH_DARWIN )
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wno-non-virtual-dtor")
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wno-non-virtual-dtor")
endif ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment