NOISSUE use -fPIC builds when the system Qt is derpy

This commit is contained in:
Petr Mrázek 2015-05-26 22:38:01 +02:00
parent 2f087b55b9
commit 50a4a1e19e

View File

@ -68,6 +68,10 @@ query_qmake(QT_INSTALL_LIBEXECS QT_LIBEXECS_DIR)
query_qmake(QT_HOST_DATA QT_DATA_DIR)
set(QT_MKSPECS_DIR ${QT_DATA_DIR}/mkspecs)
if (Qt5_POSITION_INDEPENDENT_CODE)
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
################################ Included Libs ################################
include(ExternalProject)