Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
7ea6617b
Commit
7ea6617b
authored
Jul 15, 2005
by
Bill Hoffman
Browse files
ENH: fix hard coded include from patch
parent
bd88a6f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/FindQt.cmake
View file @
7ea6617b
...
@@ -265,12 +265,12 @@ ENDIF(QT_MAX_VERSION)
...
@@ -265,12 +265,12 @@ ENDIF(QT_MAX_VERSION)
IF
(
QT_VERSION_SMALL_ENOUGH AND QT_VERSION_BIG_ENOUGH
)
IF
(
QT_VERSION_SMALL_ENOUGH AND QT_VERSION_BIG_ENOUGH
)
# Call package for Qt3
# Call package for Qt3
IF
(
QT_INST_MAJOR_VERSION LESS 4
)
IF
(
QT_INST_MAJOR_VERSION LESS 4
)
FIND_PACKAGE
(
Find
Qt4.cmake
)
FIND_PACKAGE
(
Qt4.cmake
)
ENDIF
(
QT_INST_MAJOR_VERSION LESS 4
)
ENDIF
(
QT_INST_MAJOR_VERSION LESS 4
)
# Call package for Qt4
# Call package for Qt4
IF
(
QT_INST_MAJOR_VERSION GREATER 3
)
IF
(
QT_INST_MAJOR_VERSION GREATER 3
)
IF
(
QT_INST_MAJOR_VERSION LESS 5
)
IF
(
QT_INST_MAJOR_VERSION LESS 5
)
FIND_PACKAGE
(
Find
Qt4.cmake
)
FIND_PACKAGE
(
Qt4.cmake
)
ELSE
(
QT_INST_MAJOR_VERSION LESS 5
)
ELSE
(
QT_INST_MAJOR_VERSION LESS 5
)
IF
(
NOT Qt_FIND_QUIETLY AND Qt_FIND_REQUIRED
)
IF
(
NOT Qt_FIND_QUIETLY AND Qt_FIND_REQUIRED
)
MESSAGE
(
SEND_ERROR
"Right now CMake supports only Qt-Versions less than 5.0.0"
)
MESSAGE
(
SEND_ERROR
"Right now CMake supports only Qt-Versions less than 5.0.0"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment