Don't mix old- and new-style FIND_PACKAGE_HANDLE_STANDARD_ARGS calls
commite78acce6523ac69aa04e17053cf5b72470eb90c1
authorChris Robinson <chris.kcat@gmail.com>
Sat, 10 May 2014 16:25:25 +0000 (10 09:25 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 10 May 2014 16:34:16 +0000 (10 09:34 -0700)
treed0ff5d49c62abd1012d1ce644c2dbda339c2ad68
parentddd1550a8b4e32e64eab1c5ab02ac22d91f664a5
Don't mix old- and new-style FIND_PACKAGE_HANDLE_STANDARD_ARGS calls

Some (all?) versions of cmake seem to get a bit confused when an old-style
FIND_PACKAGE_HANDLE_STANDARD_ARGS call fails, and the scripts attempt a new-
style call later on. It continues to think it's using old-style, acting as if
REQUIRED_VARS is the message and looks for a VERSION_VAR variable.
cmake/FindFluidSynth.cmake