changeset 2472:808fd5218f56

remove meaningless message about profiling
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jan 2018 15:32:45 +0100
parents 51ea632f0c55
children 0f463989f7e3
files Resources/CMake/Compiler.cmake
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake	Wed Jan 17 21:33:56 2018 +0100
+++ b/Resources/CMake/Compiler.cmake	Mon Jan 22 15:32:45 2018 +0100
@@ -180,10 +180,6 @@
 
 
 if (DEFINED ENABLE_PROFILING AND ENABLE_PROFILING)
-  if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
-    message(WARNING "Enabling profiling on a non-debug build will not produce full information")
-  endif()
-
   if (CMAKE_COMPILER_IS_GNUCXX)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg")
     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pg")