Fixed alternative name lookup for mscgen in CMake.

This commit is contained in:
Mario Liebisch 2012-06-17 11:18:38 +02:00
parent 617c3b7759
commit 777d4d30f8

View File

@ -36,7 +36,7 @@ else()
set(DOXYGEN_GENERATE_HTMLHELP NO)
endif()
find_path(MSCGEN_PATH mscgen.exe mscgen)
find_path(MSCGEN_PATH NAMES mscgen.exe mscgen)
if(NOT MSCGEN_PATH)
set(MSCGEN_PATH "")
endif()