cmake: Add support for target_precompiled_headers if available

This commit is contained in:
scribam 2020-02-20 08:53:10 +01:00 committed by Ivan
parent b1b67a13c6
commit 20f53e65eb
4 changed files with 26 additions and 15 deletions

View file

@ -22,7 +22,7 @@ option(USE_LIBEVDEV "libevdev-based joystick support" ON)
option(USE_DISCORD_RPC "Discord rich presence integration" ON)
option(USE_SYSTEM_ZLIB "Prefer system ZLIB instead of the builtin one" ON)
option(USE_VULKAN "Vulkan render backend" ON)
option(USE_COTIRE "Use precompiled headers" ON)
option(USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/rpcs3/cmake_modules")