Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Add position indepndent property to libraqm

Dov Grobgeld20a7e57a4b72
diff --git a/libs/flake/CMakeLists.txt b/libs/flake/CMakeLists.txt
index d3fec4ca28..d2acd95d69 100644
--- a/libs/flake/CMakeLists.txt
+++ b/libs/flake/CMakeLists.txt
@@ -264,6 +264,8 @@ target_include_directories(kritaflake
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/text>
)
+set_target_properties(libraqm PROPERTIES POSITION_INDEPENDENT_CODE ON)
+
target_link_libraries(kritaflake
PUBLIC
kritapigment