tests: Document Image Magick dependency
authorTony Barbour <tony@LunarG.com>
Wed, 10 Jun 2015 22:53:00 +0000 (16:53 -0600)
committerTony Barbour <tony@LunarG.com>
Thu, 11 Jun 2015 19:50:51 +0000 (13:50 -0600)
Conflicts:
tests/CMakeLists.txt

BUILD.md
tests/CMakeLists.txt

index 5aa3a01..267e5ad 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -155,6 +155,8 @@ Windows 7+ with additional, software:
     - If you don't want to use Cygwin, there are other shells and environments that can be used.
       You can also use a Git package that doesn't come from Cygwin.
   - Git (from http://git-scm.com/download/win).
+  - Image Magick is used by the tests to compare images (from http://www.imagemagick.org/script/binary-releases.php)
+    - Be sure to check box to "Install development headers and libraries"
 
 ## Windows Build
 
@@ -208,4 +210,4 @@ where to find the layer libraries, and which ones you desire to use.  The defaul
 
 Note: If both the registry value and environment variable are used, they are concatenated into a new semi-colon-delimited list.
 
-The icd loader searches in all of the folders for files that are named "VKLayer*.dll" (e.g. "VKLayerParamChecker.dll").  It attempts to dynamically load these files, and look for appropriate functions.
\ No newline at end of file
+The icd loader searches in all of the folders for files that are named "VKLayer*.dll" (e.g. "VKLayerParamChecker.dll").  It attempts to dynamically load these files, and look for appropriate functions.
index bcc7b24..6656a9d 100644 (file)
@@ -7,7 +7,11 @@ endif()
 
 find_package(ImageMagick COMPONENTS MagickWand)
 if(NOT ImageMagick_FOUND)
-    message(FATAL_ERROR "Missing ImageMagick library: sudo apt-get install libmagickwand-dev\nor http://www.imagemagick.org/script/binary-releases.php for Windows")
+    if(NOT WIN32)
+        message(FATAL_ERROR "Missing ImageMagick library: sudo apt-get install libmagickwand-dev")
+    else()
+        message(FATAL_ERROR "Missing ImageMagick library: Get from http://www.imagemagick.org/script/binary-releases.php.  Be sure to check box to 'Install development headers and libraries'")
+    endif()
 endif()
 
 if(WIN32)