summarylogtreecommitdiffstats
path: root/fix-build.patch
blob: cbf0f5ebb27692f413d73c367979281347ac2c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/sources/image/CMakeLists.txt b/sources/image/CMakeLists.txt
index 5bbe9453..5e3f1554 100644
--- a/sources/image/CMakeLists.txt
+++ b/sources/image/CMakeLists.txt
@@ -6,6 +6,7 @@ SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/sources/image)
 FILE ( GLOB_RECURSE image_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
 
 add_library(image OBJECT ${image_SOURCES})
+set_property(TARGET image PROPERTY POSITION_INDEPENDENT_CODE ON)
 
 target_link_libraries(image
 	Qt${Qt_VERSION}::Core