Browse Source

CGAL tests don't seem to run on Windows CI builds (#2351)

* show all tests

* fix cmake target
Alec Jacobson 1 year ago
parent
commit
c7a84522c3
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .github/workflows/continuous.yml
  2. 1 1
      cmake/igl/igl_copy_dll.cmake

+ 2 - 2
.github/workflows/continuous.yml

@@ -81,7 +81,7 @@ jobs:
         run: cd build; make -j2; ccache --show-stats
 
       - name: Tests
-        run: cd build; ctest --verbose
+        run: cd build; ctest --show-only; ctest --verbose
 
   ####################
   # Windows
@@ -161,5 +161,5 @@ jobs:
           cmake --build build -j2
 
       - name: Tests
-        run: cd build; ctest --verbose -j2
+        run: cd build; ctest --show-only; ctest --verbose -j2
 

+ 1 - 1
cmake/igl/igl_copy_dll.cmake

@@ -50,7 +50,7 @@ function(igl_copy_dll target)
     if(NOT WIN32)
         return()
     endif()
-    if(NOT TARGET target)
+    if(NOT TARGET ${target})
       message(STATUS "igl_copy_dll() was called with a non-target: ${target}")
       return()
     endif()