message: Added header in DetectOptions for profiling
diff: @@ -188,8 +188,13 @@ else()
  set(ADIOS2_HAVE_SysVShMem OFF)
  endif()
  -if(ADIOS2_USE_Profiling STREQUAL AUTO AND SHARED_LIBS_SUPPORTED)
  +#Profiling
  +if(ADIOS2_USE_Profiling STREQUAL AUTO)
  + if(BUILD_SHARED_LIBS)
  set(ADIOS2_HAVE_Profiling ON)
  + else()
  + set(ADIOS2_HAVE_Profiling OFF)
  + endif()
  elseif(ADIOS2_USE_Profiling)
  set(ADIOS2_HAVE_Profiling ON)
  endif()
  