Skip to content

Commit

Permalink
Undo if-else change in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Jul 8, 2022
1 parent 5ce9cde commit f572bdf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,8 @@ if(PYBIND11_CUDA_TESTS)
endif()

foreach(target ${test_targets})
if("${target}" STREQUAL "pybind11_tests")
set(test_files ${PYBIND11_TEST_FILES})
else()
set(test_files ${PYBIND11_TEST_FILES})
if(NOT "${target}" STREQUAL "pybind11_tests")
set(test_files "")
endif()

Expand Down

0 comments on commit f572bdf

Please sign in to comment.