File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ if(GOTM_USE_FABM)
7474 find_package (fabm REQUIRED CONFIG HINTS "${FABM_PREFIX} " NO_DEFAULT_PATH )
7575 mark_as_advanced (CLEAR FABM_PREFIX )
7676 else ()
77- find_path (FABM_BASE src/fabm.F90 HINTS ${CMAKE_CURRENT_LIST_DIR} /extern/fabm DOC "Path to FABM source directory." )
77+ find_path (FABM_BASE src/fabm.F90 HINTS ${CMAKE_CURRENT_LIST_DIR} /extern/fabm DOC "Path to FABM source directory." NO_CMAKE_FIND_ROOT_PATH )
7878 set (FABM_EMBED_VERSION ${GOTM_EMBED_VERSION} CACHE BOOL "Embed FABM version information" FORCE )
7979 set (FABM_FORCED_HOST gotm)
8080 add_subdirectory ("${FABM_BASE} " extern/fabm )
@@ -84,7 +84,7 @@ endif(GOTM_USE_FABM)
8484
8585if (GOTM_USE_STIM)
8686 mark_as_advanced (FORCE STIM_BASE STIM_EMBED_VERSION )
87- find_path (STIM_BASE src/stim_version.F90.in HINTS ${CMAKE_CURRENT_LIST_DIR} /extern/stim DOC "Path to STIM source directory." )
87+ find_path (STIM_BASE src/stim_version.F90.in HINTS ${CMAKE_CURRENT_LIST_DIR} /extern/stim DOC "Path to STIM source directory." NO_CMAKE_FIND_ROOT_PATH )
8888 set (STIM_EMBED_VERSION ${GOTM_EMBED_VERSION} CACHE BOOL "Embed STIM version information" FORCE )
8989 add_subdirectory ("${STIM_BASE} " extern/stim )
9090 mark_as_advanced (CLEAR STIM_BASE )
You can’t perform that action at this time.
0 commit comments