File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,11 @@ add_executable(abm_minimal_example abm_minimal.cpp)
108108target_link_libraries (abm_minimal_example PRIVATE memilio abm)
109109target_compile_options (abm_minimal_example PRIVATE ${MEMILIO_CXX_FLAGS_ENABLE_WARNING_ERRORS} )
110110
111- add_executable (abm_parameter_study_example abm_parameter_study.cpp)
112- target_link_libraries (abm_parameter_study_example PRIVATE memilio abm)
113- target_compile_options (abm_parameter_study_example PRIVATE ${MEMILIO_CXX_FLAGS_ENABLE_WARNING_ERRORS} )
111+ if (MEMILIO_HAS_HDF5)
112+ add_executable (abm_parameter_study_example abm_parameter_study.cpp)
113+ target_link_libraries (abm_parameter_study_example PRIVATE memilio abm)
114+ target_compile_options (abm_parameter_study_example PRIVATE ${MEMILIO_CXX_FLAGS_ENABLE_WARNING_ERRORS} )
115+ endif ()
114116
115117add_executable (abm_history_example abm_history_object.cpp)
116118target_link_libraries (abm_history_example PRIVATE memilio abm)
You can’t perform that action at this time.
0 commit comments