Skip to content

Commit

Permalink
Merge pull request #36 from GEOS-ESM/hotfix/mathomp4/#35-fix-gfio-det…
Browse files Browse the repository at this point in the history
…ection

Fixes #35. Fix GMAO_gfio existence check
  • Loading branch information
mathomp4 authored Sep 6, 2019
2 parents c826bd9 + 784383c commit a15ad60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ esma_add_subdirectories(
GEOS_Shared
GMAO_hermes
GEOS_Util
Chem_Base
Chem_Shared
LANL_Shared
GMAO_perllib
GMAO_transf
Expand All @@ -32,7 +30,7 @@ esma_add_subdirectories(
)

# Special case - GMAO_gfio is built twice with two different precisions.
if (EXISTS GMAO_gfio)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/GMAO_gfio)
add_subdirectory (GMAO_gfio GMAO_gfio_r4)
add_subdirectory (GMAO_gfio GMAO_gfio_r8)
add_dependencies (GMAO_gfio_r4 GMAO_gfio_r8)
Expand Down

0 comments on commit a15ad60

Please sign in to comment.