Added a switch for the EXPERIMENTAL compile flag.

This commit is contained in:
Fabian Müller 2010-01-26 10:24:34 +00:00
parent a384934519
commit 7713168c57

View file

@ -98,6 +98,11 @@ set(BINARY_PREFIX "" CACHE STRING "Prefix in front of all binaries")
# Handle options (set paths/definitions/etc...)
#
if(ENABLE_EXPERIMENTAL)
add_definitions(-DEXPERIMENTAL)
endif(ENABLE_EXPERIMENTAL)
if(CMAKE_COMPILER_IS_GNUCXX)
# Set our own default flags at first run.
if(NOT CONFIGURED)