diff options
author | Clemens Wasser <clemens.wasser@gmail.com> | 2023-06-16 20:30:13 (GMT) |
---|---|---|
committer | Clemens Wasser <clemens.wasser@gmail.com> | 2023-06-22 16:11:45 (GMT) |
commit | e2efa89c7f7f9b138b85145d78e17cb07a9e6fd1 (patch) | |
tree | e64db2e269c78f3ebec01b8fe20d1ea4938a97fd /Utilities | |
parent | 9d7921d3886e27f3d564d1f680b318766b9786e7 (diff) | |
download | CMake-e2efa89c7f7f9b138b85145d78e17cb07a9e6fd1.zip CMake-e2efa89c7f7f9b138b85145d78e17cb07a9e6fd1.tar.gz CMake-e2efa89c7f7f9b138b85145d78e17cb07a9e6fd1.tar.bz2 |
cmcppdap: Precompile common expensive headers
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmcppdap/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmcppdap/CMakeLists.txt b/Utilities/cmcppdap/CMakeLists.txt index 39f72a2..2aca681 100644 --- a/Utilities/cmcppdap/CMakeLists.txt +++ b/Utilities/cmcppdap/CMakeLists.txt @@ -34,4 +34,8 @@ elseif(NOT APPLE) target_link_libraries(cmcppdap PRIVATE Threads::Threads) endif() +if(CMake_BUILD_PCH) + target_precompile_headers(cmcppdap PRIVATE "include/dap/protocol.h") +endif() + install(FILES NOTICE DESTINATION ${CMAKE_DOC_DIR}/cmcppdap) |