File tree 1 file changed +12
-17
lines changed
1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -71,23 +71,18 @@ add_subdirectory(streams)
71
71
add_subdirectory (dshr)
72
72
73
73
if (NOT DISABLE_FoX)
74
- if (IS_DIRECTORY "${FOX_ROOT} " )
75
- message (STATUS "FoX library is already checked out!" )
76
- message (STATUS "FoX source dir: ${FOX_ROOT} " )
77
- else ()
78
- FetchContent_Declare(fox
79
- GIT_REPOSITORY https://github.com/ESMCI/fox.git
80
- GIT_TAG 4.1.2.1
81
- SOURCE_DIR ${FOX_ROOT}
82
- BINARY_DIR ${FOX_ROOT} /..
83
- )
84
- FetchContent_GetProperties(fox)
85
- if (NOT fox_POPULATED)
86
- FetchContent_Populate(fox)
87
- message (STATUS "FoX source dir: ${fox_SOURCE_DIR} " )
88
- message (STATUS "FoX binary dir: ${fox_BINARY_DIR} " )
89
- endif ()
90
- endif ()
74
+ FetchContent_Declare(fox
75
+ GIT_REPOSITORY https://github.com/ESMCI/fox.git
76
+ GIT_TAG 4.1.2.1
77
+ SOURCE_DIR ${FOX_ROOT}
78
+ BINARY_DIR ${FOX_ROOT} /..
79
+ )
80
+ FetchContent_GetProperties(fox)
81
+ if (NOT fox_POPULATED)
82
+ FetchContent_Populate(fox)
83
+ message (STATUS "FoX source dir: ${fox_SOURCE_DIR} " )
84
+ message (STATUS "FoX binary dir: ${fox_BINARY_DIR} " )
85
+ endif ()
91
86
add_subdirectory (fox)
92
87
93
88
target_include_directories (streams PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} /fox/include >
You can’t perform that action at this time.
0 commit comments