Skip to content

Commit

Permalink
disable sim engine in test if not WITH_HYDRAULIC_MODEL_SUPPORT
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Jun 21, 2024
1 parent 934746f commit e5e61ac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ IF(WITH_GUI)
ENDIF(WITH_GUI)

add_subdirectory(dataProviders)
add_subdirectory(simulationEngines)

if(WITH_HYDRAULIC_MODEL_SUPPORT)
add_subdirectory(simulationEngines)
endif(WITH_HYDRAULIC_MODEL_SUPPORT)


if(INTERN_PYTHON_TESTS_ENABLE)
add_subdirectory(python)
Expand Down
1 change: 1 addition & 0 deletions Tests/dataProviders/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

add_subdirectory(grib)
add_subdirectory(hydroportail)

if (COMEPHORE_TESTS_ENABLE)
add_subdirectory(comephore)
endif(COMEPHORE_TESTS_ENABLE)
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ endif()

ADD_SUBDIRECTORY(dataProviders)

IF(WITH_HYRAULIC_MODEL_SUPPORT)
IF(WITH_HYDRAULIC_MODEL_SUPPORT)
ADD_SUBDIRECTORY(simulationEngines)
ENDIF(WITH_HYRAULIC_MODEL_SUPPORT)
ENDIF(WITH_HYDRAULIC_MODEL_SUPPORT)


0 comments on commit e5e61ac

Please sign in to comment.