mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Optionally use precompiled headers
This commit is contained in:
parent
fe45c49e56
commit
4e5bd53b13
1 changed files with 7 additions and 0 deletions
|
@ -577,6 +577,13 @@ target_link_libraries(nheko PRIVATE
|
|||
tweeny
|
||||
SingleApplication::SingleApplication)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
|
||||
target_precompile_headers(nheko
|
||||
PRIVATE
|
||||
<string>
|
||||
)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
target_link_libraries(nheko PRIVATE ntdll)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue