Index: qimgv-0.8.9/qimgv/CMakeLists.txt
===================================================================
--- qimgv-0.8.9.orig/qimgv/CMakeLists.txt
+++ qimgv-0.8.9/qimgv/CMakeLists.txt
@@ -21,6 +21,9 @@ add_subdirectory(utils)
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 Qt5::Core Qt5::Widgets Qt5::Concurrent)
if(USING_LIBSTDCXX)