diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0506045..58bf855 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -373,7 +373,9 @@ inclusion(CGAL_DIR CGAL_INCLUDE_DIRS) # Imagemagick if (SKIP_IMAGEMAGICK) - set(ImageMagick_convert_EXECUTABLE "echo") + if (NOT MINGW_CROSS_ENV_DIR) + set(ImageMagick_convert_EXECUTABLE "echo") + endif() else() find_package(ImageMagick COMPONENTS convert) if (ImageMagick_convert_FOUND) |