Skip to content
Snippets Groups Projects
Commit 4aa2fc47 authored by Tom Fischer's avatar Tom Fischer
Browse files

Merge branch 'enable-xdmfdiff-tests' into 'master'

[cmake] Fixed xdmfdiff-tests not appearing

See merge request ogs/ogs!5115
parents c47f7b3a f3ccbf60
No related branches found
No related tags found
No related merge requests found
...@@ -206,13 +206,13 @@ if(_build_chemistry_lib) ...@@ -206,13 +206,13 @@ if(_build_chemistry_lib)
endif() endif()
if(OGS_BUILD_CLI OR OGS_BUILD_UTILS OR OGS_BUILD_TESTING) if(OGS_BUILD_CLI OR OGS_BUILD_UTILS OR OGS_BUILD_TESTING)
if(TARGET OgsXdmf AND OGS_BUILD_TESTING)
add_subdirectory(Tests/xdmfdiff)
endif()
add_subdirectory(ParameterLib) add_subdirectory(ParameterLib)
add_subdirectory(MaterialLib) add_subdirectory(MaterialLib)
add_subdirectory(ProcessLib) add_subdirectory(ProcessLib)
endif() endif()
if(TARGET OgsXdmf)
add_subdirectory(Tests/xdmfdiff)
endif()
if(OGS_BUILD_TESTING AND PROJECT_IS_TOP_LEVEL) if(OGS_BUILD_TESTING AND PROJECT_IS_TOP_LEVEL)
add_subdirectory(Tests) add_subdirectory(Tests)
endif() endif()
......
...@@ -276,6 +276,7 @@ if(NOT ZLIB_FOUND) ...@@ -276,6 +276,7 @@ if(NOT ZLIB_FOUND)
set(ZLIB_LIBRARIES set(ZLIB_LIBRARIES
${build_dir_ZLIB}/${CMAKE_INSTALL_LIBDIR}/zlibstatic${_zlib_debug_postfix}${CMAKE_STATIC_LIBRARY_SUFFIX} ${build_dir_ZLIB}/${CMAKE_INSTALL_LIBDIR}/zlibstatic${_zlib_debug_postfix}${CMAKE_STATIC_LIBRARY_SUFFIX}
) )
set(ZLIB_INCLUDE_DIRS ${build_dir_ZLIB})
endif() endif()
set(_EXT_LIBS ${_EXT_LIBS} ZLIB CACHE INTERNAL "") set(_EXT_LIBS ${_EXT_LIBS} ZLIB CACHE INTERNAL "")
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment