4fb7eebc70
It's unlikely we will ever use pro2cmake at this project stage, so it doesn't make any sense to keep the 'special case' markers in the CMake scripts. Remove them and replace with TODO where needed. Change-Id: I84290c20679dabbfdec3c5937ce0428fecb3e5a7 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
15 lines
494 B
CMake
15 lines
494 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#
|
|
# Copy/Install doc configuration files to the build/install directory
|
|
#
|
|
qt_path_join(doc_install_dir ${QT_INSTALL_DIR} ${INSTALL_DOCDIR})
|
|
foreach(dir global config)
|
|
qt_copy_or_install(DIRECTORY ${dir} DESTINATION ${doc_install_dir})
|
|
if(QT_SUPERBUILD)
|
|
qt_path_join(destination ${QtBase_BINARY_DIR} ${INSTALL_DOCDIR})
|
|
file(COPY ${dir} DESTINATION ${destination})
|
|
endif()
|
|
endforeach()
|