Commit 1d7850ff authored by Gavin Bisesi's avatar Gavin Bisesi
Browse files

Merge pull request #406 from ctrlaltca/fix_405

Fix for #405
parents 07cccda1 9cfb09cd
...@@ -113,10 +113,10 @@ ENDIF() ...@@ -113,10 +113,10 @@ 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
# FIX: Qt was built with -reduce-relocations if (Qt5_POSITION_INDEPENDENT_CODE)
add_definitions(-fPIC) SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif() endif()
FIND_PACKAGE(Qt5LinguistTools) FIND_PACKAGE(Qt5LinguistTools)
IF(UPDATE_TRANSLATIONS) IF(UPDATE_TRANSLATIONS)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment