message: Enable PIC by default for static builds if supported
diff: @@ -107,6 +107,9 @@ cmake_dependent_option(BUILD_SHARED_LIBS
  "SHARED_LIBS_SUPPORTED" OFF
  )
  mark_as_advanced(BUILD_SHARED_LIBS)
  +if((NOT BUILD_SHARED_LIBS) AND (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE))
  + set(CMAKE_POSITION_INDEPENDENT_CODE ON)
  +endif()
  adios_option(Blosc "Enable support for Blosc transforms" AUTO)
  adios_option(BZip2 "Enable support for BZip2 transforms" AUTO)
  