Optionally use precompiled headers

master
Nicolas Werner 5 years ago
parent fe45c49e56
commit 4e5bd53b13
  1. 7
      CMakeLists.txt

@ -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…
Cancel
Save