Ticket #51083: patch-cxxflags.diff
File patch-cxxflags.diff, 452 bytes (added by RJVB (René Bertin), 9 years ago) |
---|
-
CMakeLists.txt
diff --git CMakeLists.txt CMakeLists.txt index ddccd04..be00b6a 100644
add_definitions(${Qt5Widgets_DEFINITIONS}) 23 23 24 24 # Executables fail to build with Qt 5 in the default configuration 25 25 # without -fPIE. We add that here. 26 set(CMAKE_CXX_FLAGS "${ Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")26 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") 27 27 28 28 include_directories( 29 29 .