forked from pool/qimgv
Luigi Baldoni
222c8f4254
Update to version 0.8.3 OBS-URL: https://build.opensuse.org/request/show/732008 OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=17
15 lines
559 B
Diff
15 lines
559 B
Diff
Index: qimgv-0.8.3/qimgv/CMakeLists.txt
|
|
===================================================================
|
|
--- qimgv-0.8.3.orig/qimgv/CMakeLists.txt
|
|
+++ qimgv-0.8.3/qimgv/CMakeLists.txt
|
|
@@ -11,6 +11,9 @@ include(CMake/SRC_UI_Files.cmake)
|
|
# ADD RESOURCES
|
|
QT5_ADD_RESOURCES(RES resources.qrc)
|
|
|
|
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
|
|
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
|
|
+
|
|
# ADD EXECUTABLE
|
|
add_executable(qimgv ${SRC} ${SRC_Components} ${SRC_SourceContainers} ${SRC_Utils} ${SRC_Gui} ${RES} ${SRC_UI_Files} qimgv.rc)
|
|
|