mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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
|
tweeny
|
||||||
SingleApplication::SingleApplication)
|
SingleApplication::SingleApplication)
|
||||||
|
|
||||||
|
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16.0")
|
||||||
|
target_precompile_headers(nheko
|
||||||
|
PRIVATE
|
||||||
|
<string>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_link_libraries(nheko PRIVATE ntdll)
|
target_link_libraries(nheko PRIVATE ntdll)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue