Terminal: Fix libvterm -fPIC

Change-Id: Iac8a9a0ec01058edd00399c3de0746d97de6fec3
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-02-24 09:34:28 +01:00
parent ebb3b90dce
commit a8d6229898

View File

@@ -1,4 +1,7 @@
add_library(libvterm STATIC
add_qtc_library(libvterm STATIC
PUBLIC_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include
PROPERTIES QT_COMPILE_OPTIONS_DISABLE_WARNINGS ON
SOURCES
src/encoding.c
src/fullwidth.inc
src/keyboard.c
@@ -13,13 +16,3 @@ add_library(libvterm STATIC
src/vterm.c
src/vterm_internal.h
)
target_include_directories(libvterm PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
set_target_properties(libvterm
PROPERTIES
QT_COMPILE_OPTIONS_DISABLE_WARNINGS ON
POSITION_INDEPENDENT_CODE ON 
)