diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-02-27 16:25:24 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-02-27 16:25:24 (GMT) |
commit | 518f965bbabf6678a3fc03948c38bc78e48cfdc3 (patch) | |
tree | f36b03531a7318b0a12e40c894c878c33a5636c0 /Modules | |
parent | 00daeff02bd1507de46d3a0eac4743672ef1ecef (diff) | |
download | CMake-518f965bbabf6678a3fc03948c38bc78e48cfdc3.zip CMake-518f965bbabf6678a3fc03948c38bc78e48cfdc3.tar.gz CMake-518f965bbabf6678a3fc03948c38bc78e48cfdc3.tar.bz2 |
FindImageMagick: fix fail if no components were given
The variable name should be added to the list here, not the content.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindImageMagick.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake index 52d575b..0c890f5 100644 --- a/Modules/FindImageMagick.cmake +++ b/Modules/FindImageMagick.cmake @@ -171,7 +171,7 @@ FOREACH(component ${ImageMagick_FIND_COMPONENTS} ELSEIF(ImageMagick_${component}_EXECUTABLE) # if no components were requested explicitly put all (default) executables # in the list - LIST(APPEND ImageMagick_DEFAULT_EXECUTABLES "${ImageMagick_${component}_EXECUTABLE}") + LIST(APPEND ImageMagick_DEFAULT_EXECUTABLES ImageMagick_${component}_EXECUTABLE) ENDIF(ImageMagick_FIND_COMPONENTS) ENDIF(component STREQUAL "Magick++") ENDFOREACH(component) |