Merge pull request #406 from ctrlaltca/fix_405

Fix for #405
This commit is contained in:
Gavin Bisesi 2014-10-29 09:53:21 -04:00
commit 1d7850fff8

View file

@ -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)