From 0424420e3c9e92443e42fde2f6b5f8ba75372401 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Tue, 7 Jan 2020 16:35:56 +0100 Subject: [PATCH] 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 --- src/plugins/help/qlitehtml/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/help/qlitehtml/CMakeLists.txt b/src/plugins/help/qlitehtml/CMakeLists.txt index 6dde535396a..70a630d4c8d 100644 --- a/src/plugins/help/qlitehtml/CMakeLists.txt +++ b/src/plugins/help/qlitehtml/CMakeLists.txt @@ -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")