Fix bug interpreting CMake conditions with -NOTFOUND variables.
authorNicolás Alvarez <nicolas.alvarez@gmail.com>
Mon, 27 Sep 2010 18:07:14 +0000 (15:07 -0300)
committerNicolás Alvarez <nicolas.alvarez@gmail.com>
Mon, 27 Sep 2010 18:07:14 +0000 (15:07 -0300)
commitbfc45f6524ea428ee46179843f5f71079228c788
tree0156d8aeb8d2c6ed3c47f8a90f89ff4a6bc4001d
parente77a7826b3ecaa177a0ab971113bff177586e863
Fix bug interpreting CMake conditions with -NOTFOUND variables.

Fixes an infinite-ish loop loading KOffice, and probably other projects.
(it affected HandleImportedTargetsInCMakeRequiredLibraries.cmake)
projectmanagers/cmake/parser/cmakecondition.cpp
projectmanagers/cmake/tests/cmake_cmakecondition_test.cpp