aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/FindUSB.cmake
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2015-12-18 12:37:19 +0100
committerKevin Funk <kfunk@kde.org>2015-12-18 15:57:50 +0100
commit942ba80dae253fef93094d178da3ce0abc47da5d (patch)
treec1e633d8caa14d02536806c91a7cf30f3680c809 /attic/modules/FindUSB.cmake
parentbdd38b5f45a889043deb0665bdb66086ca6c9bf5 (diff)
downloadextra-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/FindUSB.cmake')
-rw-r--r--attic/modules/FindUSB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/attic/modules/FindUSB.cmake b/attic/modules/FindUSB.cmake
index f0178a3c..73b54a8e 100644
--- a/attic/modules/FindUSB.cmake
+++ b/attic/modules/FindUSB.cmake
@@ -16,7 +16,7 @@ if (NOT WIN32)
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_LIBUSB QUIET libusb)
-endif(NOT WIN32)
+endif()
find_path(LIBUSB_INCLUDE_DIR usb.h
HINTS ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDE_DIRS})