Skip to content

Commit

Permalink
Testsuite: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Jun 26, 2023
1 parent 098bf6d commit 386fdad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmake/macros/macro_deal_ii_add_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
#

if(POLICY CMP0112)
# Target file component generator expressions do not add target dependencies.
cmake_policy(SET CMP0112 NEW)
endif()

Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ foreach(_category ${_categories})

file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_category})

set(_redirect > /dev/null)
set(_redirect ">" "/dev/null")
if(DEAL_II_MSVC)
set (_redirect)
set (_redirect "")
endif()
set(_command ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} ${_options} ${_category_dir} ${_redirect})

Expand Down

0 comments on commit 386fdad

Please sign in to comment.