Simplify FindExecInfo
authorRolf Eike Beer <kde@opensource.sf-tec.de>
Fri, 1 Jul 2016 17:04:06 +0000 (19:04 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 7 Sep 2016 19:46:28 +0000 (21:46 +0200)
commit3be4dcd0386965097be6a29fa30d4541118aa654
tree5ba0015d27609fd3e7b57b5c18dad888de874a92
parent2c8d0b871a3afe6f00e7190a770162abd7a304e8
Simplify FindExecInfo

* Do not set EXECINFO_INCLUDES to empty it it is NOTFOUND, it is only
  used when EXECINFO_FOUND is set, which is the expected behavior
* Simplify checking for the find_path() and find_library() result,
  CMake considers a variable false if its value is VARNAME-NOTFOUND

Resolves GH-222.
cmake/FindExecInfo.cmake