diff options
author | Laurent Montel <montel@kde.org> | 2006-11-20 09:34:10 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2006-11-20 09:34:10 +0000 |
commit | 491b73d5a0712517b0be22ef7657b91a078ec08c (patch) | |
tree | 10652585a7d25b587fe0bc53459886fc76d2d961 /modules/FindUSB.cmake | |
parent | 686e98c28b13088f1a86fa3b1c910d1037122cbb (diff) | |
download | extra-cmake-modules-491b73d5a0712517b0be22ef7657b91a078ec08c.tar.gz extra-cmake-modules-491b73d5a0712517b0be22ef7657b91a078ec08c.tar.bz2 |
Don't try to use pkg-config under Windows
svn path=/trunk/KDE/kdelibs/; revision=606389
Diffstat (limited to 'modules/FindUSB.cmake')
-rw-r--r-- | modules/FindUSB.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindUSB.cmake b/modules/FindUSB.cmake index 5c4d65d6..e4ffbac5 100644 --- a/modules/FindUSB.cmake +++ b/modules/FindUSB.cmake @@ -17,13 +17,13 @@ if (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) set(LIBUSB_FOUND TRUE) else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES) - +IF (NOT WIN32) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls INCLUDE(UsePkgConfig) PKGCONFIG(libUSB _libUSBIncDir _libUSBLinkDir _libUSBLinkFlags _libUSBCflags) - +ENDIF(NOT WIN32) FIND_PATH(LIBUSB_INCLUDE_DIR usb.h /usr/include /usr/local/include |