diff options
author | Kevin Funk <kfunk@kde.org> | 2015-12-18 12:37:19 +0100 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2015-12-18 15:57:50 +0100 |
commit | 942ba80dae253fef93094d178da3ce0abc47da5d (patch) | |
tree | c1e633d8caa14d02536806c91a7cf30f3680c809 /attic/modules/FindXine.cmake | |
parent | bdd38b5f45a889043deb0665bdb66086ca6c9bf5 (diff) | |
download | extra-cmake-modules-942ba80dae253fef93094d178da3ce0abc47da5d.tar.gz extra-cmake-modules-942ba80dae253fef93094d178da3ce0abc47da5d.tar.bz2 |
CMake: Cleanup: Strip text from endif/else
REVIEW: 126414
Diffstat (limited to 'attic/modules/FindXine.cmake')
-rw-r--r-- | attic/modules/FindXine.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/attic/modules/FindXine.cmake b/attic/modules/FindXine.cmake index 4ad0c2a8..de296798 100644 --- a/attic/modules/FindXine.cmake +++ b/attic/modules/FindXine.cmake @@ -46,7 +46,7 @@ if (XINE_INCLUDE_DIR AND XINE_LIBRARY AND XINECONFIG_EXECUTABLE) if("${XINE_VERSION}" VERSION_GREATER "1.1.0") #if (... VERSION_GREATER) is new since cmake 2.6.2 set(XINE_VERSION_OK TRUE) string(REGEX REPLACE "[0-9]\\.[0-9]\\." "" XINE_BUGFIX_VERSION ${XINE_VERSION}) - endif("${XINE_VERSION}" VERSION_GREATER "1.1.0") + endif() endif (XINE_INCLUDE_DIR AND XINE_LIBRARY AND XINECONFIG_EXECUTABLE) @@ -56,7 +56,7 @@ if( XINE_VERSION_OK) set(CMAKE_REQUIRED_LIBRARIES ${XINE_LIBRARY}) check_c_source_compiles("#include <xine.h>\nint main()\n{\n xine_open_video_driver(xine_new(), \"auto\", XINE_VISUAL_TYPE_XCB, NULL);\n return 0;\n}\n" XINE_XCB_FOUND) set(XINE_FOUND TRUE) -endif(XINE_VERSION_OK) +endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Xine "Could NOT find XINE 1.1.1 or greater" XINE_INCLUDE_DIR XINE_LIBRARY XINECONFIG_EXECUTABLE XINE_VERSION_OK) |