CMake: Do not install litehtml's include and static library

When doing a cmake --install for Qt Creator we don't want to install
the header files and static library for litehtml.

Change-Id: I076fe2d6bb88d1dfac118c2c9ef105bc8dde442a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2020-01-07 16:35:56 +01:00
parent 6d15080b1e
commit 0424420e3c

View File

@@ -8,7 +8,7 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/litehtml/CMakeLists.txt)
set(LITEHTML_UTF8 ON CACHE BOOL "")
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_subdirectory(litehtml)
add_subdirectory(litehtml EXCLUDE_FROM_ALL)
set(CMAKE_POSITION_INDEPENDENT_CODE "${ORIG_FPIC}")
# force optimized litehtml even in debug
if (CMAKE_BUILD_TYPE STREQUAL "Debug")