+CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
+#MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY )
+
+# for CMake 2.6 corrected behaviour (see "cmake --help-policy CMP0003")
+IF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
+ CMAKE_POLICY(SET CMP0003 NEW)
+ CMAKE_POLICY(SET CMP0005 NEW)
+ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
+
PROJECT(CreaEnvironment)
SET(PROJECT_MAJOR_VERSION 1)
SUBDIRS(lib)
-#SUBDIRS(appli)
\ No newline at end of file
+#SUBDIRS(appli)
#----------------------------------------------------------------------------
# SET THE NAME OF YOUR LIBRARY
-SET ( LIBRARY_NAME CreaEnvironment )
+SET ( LIBRARY_NAME creaEnvironment )
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------