GEOS-ESM / ESMA_cmake

Custom CMake macros for the GEOS Earth System Model
Apache License 2.0
4 stars 9 forks source link

add option to BUILD_WITH_PFLOGGER #165

Closed weiyuan-jiang closed 3 years ago

weiyuan-jiang commented 3 years ago

Add option to skip pflogger library if BUILD_WITH_PFLOGGER is OFF

mathomp4 commented 3 years ago

@mathomp4 - let me know if you prefer a different name for this option. E.g., USE_PFLOGGER or even the opposite SKIP_PFLOGGER. Best to be consistent.

Well, in MAPL we did:

option(BUILD_WITH_FLAP "Use FLAP for command line processing" ON)
if (BUILD_WITH_FLAP)
  find_package(FLAP REQUIRED)
endif ()

so I suppose this is consistent with how we handled this issue there?

tclune commented 3 years ago

@mathomp4 - right. Thanks.