Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
OpenMesh
Commits
44bfe825
Commit
44bfe825
authored
Dec 14, 2018
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary function
parent
f1001ce7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
cmake/ACGQt.cmake
cmake/ACGQt.cmake
+1
-14
No files found.
cmake/ACGQt.cmake
View file @
44bfe825
#unset cached qt variables which are set by all qt versions. version is the major number of the qt version (e.g. 4 or 5, not 4.8)
macro
(
acg_unset_qt_shared_variables version
)
if
(
ACG_INTERNAL_QT_LAST_VERSION
)
if
(
NOT
${
ACG_INTERNAL_QT_LAST_VERSION
}
EQUAL
${
version
}
)
unset
(
QT_BINARY_DIR
)
unset
(
QT_PLUGINS_DIR
)
unset
(
ACG_INTERNAL_QT_LAST_VERSION
)
endif
()
endif
()
set
(
ACG_INTERNAL_QT_LAST_VERSION
"
${
version
}
"
CACHE INTERNAL
"Qt Version, which was used on the last time"
)
endmacro
()
macro
(
acg_qt5
)
if
(
POLICY CMP0020
)
...
...
@@ -63,8 +51,7 @@ macro (acg_qt5)
endif
(
Qt5Core_FOUND
)
if
(
QT5_FOUND
)
acg_unset_qt_shared_variables
(
5
)
#set plugin dir
list
(
GET Qt5Gui_PLUGINS 0 _plugin
)
if
(
_plugin
)
...
...
Write
Preview
Markdown
is supported
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