aboutsummaryrefslogtreecommitdiff
path: root/attic/modules-tests/TestFindPackage.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'attic/modules-tests/TestFindPackage.cmake')
-rw-r--r--attic/modules-tests/TestFindPackage.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/attic/modules-tests/TestFindPackage.cmake b/attic/modules-tests/TestFindPackage.cmake
index 8de22b06..24e70f5c 100644
--- a/attic/modules-tests/TestFindPackage.cmake
+++ b/attic/modules-tests/TestFindPackage.cmake
@@ -23,9 +23,9 @@ macro(TEST_FIND_PACKAGE package prefix )
# but never return success.
if("${PKG_CONFIG_EXECUTABLE}" STREQUAL "echo")
message(STATUS ":: ***** Testing Find${package}.cmake, with pkg-config disabled *****")
- else("${PKG_CONFIG_EXECUTABLE}" STREQUAL "echo")
+ else()
message(STATUS ":: ***** Testing Find${package}.cmake *****")
- endif("${PKG_CONFIG_EXECUTABLE}" STREQUAL "echo")
+ endif()
find_package(${package})
message(STATUS ":: ***** Results from Find${package}.cmake *****")