Commit dff5c1fa authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We need to use POSITION_INDEPENDENT_CODE for linking against qt6

parent f1e986a4
Pipeline #188845 passed with stage
in 2 minutes and 42 seconds
......@@ -17,6 +17,8 @@ ecm_qt_declare_logging_category(
)
add_library(konsolecharacters OBJECT ${konsolecharacters_SRCS})
# Needed to link this static lib to shared libs
set_target_properties(konsolecharacters PROPERTIES POSITION_INDEPENDENT_CODE ON)
generate_export_header(konsolecharacters BASE_NAME konsolecharacters)
target_include_directories(konsolecharacters
PUBLIC ${CMAKE_CURRENT_BINARY_DIR}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment