]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
If CMAKE_BUILD_TYPE is not set, set it to Release
authoradam <adam>
Thu, 28 Apr 2011 12:33:43 +0000 (12:33 +0000)
committeradam <adam>
Thu, 28 Apr 2011 12:33:43 +0000 (12:33 +0000)
salome_adm/cmake_files/FindPLATFORM.cmake

index 4b08dbf0ff2789df2380648fc76a1ac32df84328..7ba44f0cb5bbc8153ec53818f88ae2f9a9f1bd02 100644 (file)
@@ -40,6 +40,10 @@ IF(NOT CMAKE_BUILD_TYPE)
   SET(CMAKE_BUILD_TYPE $ENV{CMAKE_BUILD_TYPE})
 ENDIF(NOT CMAKE_BUILD_TYPE)
 
+IF(NOT CMAKE_BUILD_TYPE)
+  SET(CMAKE_BUILD_TYPE Release)
+ENDIF(NOT CMAKE_BUILD_TYPE)
+
 IF(WINDOWS)
 ELSE(WINDOWS)
   SET(ADD_WERROR ON)