forked from qt-creator/qt-creator
Terminal: Fix libvterm -fPIC
Change-Id: Iac8a9a0ec01058edd00399c3de0746d97de6fec3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
15
src/libs/3rdparty/libvterm/CMakeLists.txt
vendored
15
src/libs/3rdparty/libvterm/CMakeLists.txt
vendored
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user