diff options
author | Brad King <brad.king@kitware.com> | 2014-09-16 13:05:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-16 13:06:29 (GMT) |
commit | fa7d47ac5ce8a2c1006fa73f518a33bab9d83174 (patch) | |
tree | 7f80f0157507fb8bbf328721f0f1de5fed8116b4 /Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake | |
parent | 3b5ea54a27bc69cf64c87dd5dc2bdc227dc4e776 (diff) | |
download | CMake-fa7d47ac5ce8a2c1006fa73f518a33bab9d83174.zip CMake-fa7d47ac5ce8a2c1006fa73f518a33bab9d83174.tar.gz CMake-fa7d47ac5ce8a2c1006fa73f518a33bab9d83174.tar.bz2 |
Tests: Fix CMP0054 warnings
Hack the CMP0054 warning locally to be an error and run the test suite.
Resolve CMP0054 in Tests/* code as appropriate for each case.
Diffstat (limited to 'Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake')
-rw-r--r-- | Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake index 4a66e85..c903279 100644 --- a/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake +++ b/Tests/RunCMake/FindPkgConfig/FindPkgConfig_PKGCONFIG_PATH.cmake @@ -46,6 +46,6 @@ endif() pkg_check_modules(FOO "${expected_path}") -if(NOT "FOO_FOUND") +if(NOT FOO_FOUND) message(FATAL_ERROR "Expected PKG_CONFIG_PATH: \"${expected_path}\".") endif() |