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
Donald Haase
Cockatrice
Commits
04ad73fc
Commit
04ad73fc
authored
Jul 06, 2014
by
Fabio Bas
Browse files
Workaround for qt5 version compiled with -reduce-relocations
parent
e9895d64
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
04ad73fc
...
@@ -99,6 +99,11 @@ ENDIF()
...
@@ -99,6 +99,11 @@ ENDIF()
IF
(
Qt5Widgets_FOUND
)
IF
(
Qt5Widgets_FOUND
)
MESSAGE
(
STATUS
"Found Qt
${
Qt5Widgets_VERSION_STRING
}
"
)
MESSAGE
(
STATUS
"Found Qt
${
Qt5Widgets_VERSION_STRING
}
"
)
if
(
UNIX AND NOT APPLE AND
"
${
CMAKE_SYSTEM_PROCESSOR
}
"
STREQUAL
"x86_64"
)
# FIX: Qt was built with -reduce-relocations
add_definitions
(
-fPIC
)
endif
()
ELSE
()
ELSE
()
FIND_PACKAGE
(
Qt4 4.8.0 REQUIRED
)
FIND_PACKAGE
(
Qt4 4.8.0 REQUIRED
)
IF
(
QT4_FOUND
)
IF
(
QT4_FOUND
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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