forked from qt-creator/qt-creator
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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user