Index: qimgv-1.0.0/qimgv/CMakeLists.txt
===================================================================
--- qimgv-1.0.0.orig/qimgv/CMakeLists.txt
+++ qimgv-1.0.0/qimgv/CMakeLists.txt
@@ -36,6 +36,9 @@ endif()
target_compile_features(qimgv PRIVATE cxx_std_17)
set_target_properties(qimgv PROPERTIES CXX_EXTENSIONS OFF)
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
+set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
+
# LINK STUFF
target_link_libraries(qimgv PRIVATE Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Svg Qt${QT_VERSION_MAJOR}::PrintSupport)
if(QT_VERSION_MAJOR GREATER_EQUAL 6)