Skip to content
Snippets Groups Projects
Commit 91611c39 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'fix-Qt5Autogen-test'

6af9fa12 Tests: Don't hang when running Qt5Autogen built with GCC 5 (#15570).
parents 88482988 6af9fa12
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,8 @@ else()
include_directories(${Qt5Widgets_INCLUDE_DIRS})
set(QT_LIBRARIES Qt5::Widgets)
if(Qt5_POSITION_INDEPENDENT_CODE)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if(Qt5_POSITION_INDEPENDENT_CODE AND CMAKE_CXX_COMPILE_OPTIONS_PIC)
add_definitions(${CMAKE_CXX_COMPILE_OPTIONS_PIC})
endif()
macro(qtx_wrap_cpp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment