mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Trying to fix Qt error on Ubuntu.
This commit is contained in:
parent
ea53b9893c
commit
c0d1549ca5
1 changed files with 5 additions and 3 deletions
|
@ -7,10 +7,12 @@ SET(CMAKE_AUTOMOC ON)
|
|||
|
||||
setup_hifi_project(Core Widgets)
|
||||
|
||||
# Add compiler flags for building executables (-fPIE)
|
||||
##set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
# FIX: Qt was built with -reduce-relocations
|
||||
if (Qt5_POSITION_INDEPENDENT_CODE)
|
||||
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
# Qt includes
|
||||
# Qt includes
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
include_directories(${Qt5Core_INCLUDE_DIRS})
|
||||
include_directories(${Qt5Widgets_INCLUDE_DIRS})
|
||||
|
|
Loading…
Reference in a new issue