diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-07-20 20:54:04 +0300 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-07-20 20:54:04 +0300 |
commit | d1ec7e299eab601e2127719d972f689d76185319 (patch) | |
tree | 2aa58bf1feaa502954692715f590ff36af2a2c7b /attic | |
parent | d5582bb3b1d3132dab8f8486729f62c8b8530da3 (diff) | |
download | extra-cmake-modules-d1ec7e299eab601e2127719d972f689d76185319.tar.gz extra-cmake-modules-d1ec7e299eab601e2127719d972f689d76185319.tar.bz2 |
FindPyQt4: Use PATH, not FILEPATH.
PYQT4_SIP_DIR is a directory, not a file.
Forwardport of kdelibs/37f31f9ce39569a1096e5a04b6679a91e6ae18fe.
Diffstat (limited to 'attic')
-rw-r--r-- | attic/modules/FindPyQt4.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/attic/modules/FindPyQt4.cmake b/attic/modules/FindPyQt4.cmake index b3fe28c7..3c7d2885 100644 --- a/attic/modules/FindPyQt4.cmake +++ b/attic/modules/FindPyQt4.cmake @@ -45,7 +45,7 @@ ELSE(EXISTS PYQT4_VERSION) SET(PYQT4_VERSION_TAG "${CMAKE_MATCH_1}" CACHE STRING "The Qt4 version tag used by PyQt4's .sip files") STRING(REGEX MATCH ".*\npyqt_sip_dir:([^\n]+).*$" _dummy ${pyqt_config}) - SET(PYQT4_SIP_DIR "${CMAKE_MATCH_1}" CACHE FILEPATH "The base directory where PyQt4's .sip files are installed") + SET(PYQT4_SIP_DIR "${CMAKE_MATCH_1}" CACHE PATH "The base directory where PyQt4's .sip files are installed") STRING(REGEX MATCH ".*\npyqt_sip_flags:([^\n]+).*$" _dummy ${pyqt_config}) SET(PYQT4_SIP_FLAGS "${CMAKE_MATCH_1}" CACHE STRING "The SIP flags used to build PyQt4") |