diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-30 17:20:03 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-30 17:20:03 +0000 |
| commit | 3135642ff5c747d674b1a5347f4a3dd6352b6c75 (patch) | |
| tree | a434de1167f2ed257556fc150bb49eb404c1b6fa /tests/CMakeLists.txt | |
| parent | d5bb3b0039159a61c7e9b2ae157a7b6ec2c0aef5 (diff) | |
[trunk] Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style.
Thanks to Hans Johnson
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0b1ce71b..444f9b4c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -30,7 +30,7 @@ if(ZLIB_FOUND AND APPLE) target_link_libraries(comparePGXimages z) ELSe(ZLIB_FOUND AND APPLE) target_link_libraries(comparePGXimages ${Z_LIBNAME}) -endif(ZLIB_FOUND AND APPLE) +endif() add_executable(compare_dump_files ${compare_dump_files_SRCS}) @@ -62,8 +62,8 @@ set_property(TEST ttd2 APPEND PROPERTY DEPENDS tte2) # No image send to the dashboard if lib PNG is not available. if(NOT HAVE_LIBPNG) - message(WARNING "Lib PNG seems to be not available: if you want run the non-regression tests with images reported to the dashboard, you need it (try BUILD_THIRDPARTY)") -endif(NOT HAVE_LIBPNG) + message(WARNING "Lib PNG seems to be not available: if you want run the non-regression tests with images reported to the dashboard, you need it (try BUILD_THIRDPARTY)") +endif() add_subdirectory(conformance) add_subdirectory(nonregression) @@ -76,5 +76,5 @@ if(BUILD_JPIP) set(md5 "62b00c620fb0a600c5ffd413cada4674") add_test(TestJPIP1 ${CMAKE_COMMAND} -DD_URL:STRING=${s} -DD_FILE:PATH=${p} -DEXPECTED_MD5=${md5} -P ${PROJECT_SOURCE_DIR}/CMake/JPIPTestDriver.cmake) - endif(JPIP_SERVER) -endif(BUILD_JPIP) + endif() +endif() |
