mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 00:02:21 +08:00
cmcppdap: Precompile common expensive headers
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user