Commit 11165569 authored by Jan Möbius's avatar Jan Möbius

Added build warning for mac

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16450 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 893c13c9
cmake_minimum_required (VERSION 2.8.4)
make_minimum_required (VERSION 2.8.4)
if (NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif()
IF ( APPLE )
IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
message("WARNING: Mac Debug mode mixes debug and release libraries (Webkit, ...), which causes strange errors.")
message("WARNING: It might work but is currently not supported.")
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)
endif()
project (OpenFlipper)
# add our macro directory to cmake search path
......
Markdown is supported
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