mirror of https://github.com/OpenMW/openmw.git
Add option to disable precompiled headers
To be able to use ccache. Also fix compilation errors appeared due to absence of precompiled headers.fix-osga-rotate-wildly
parent
65d51665e5
commit
5859fd464c
@ -1,6 +1,6 @@
|
||||
add_library(Base64 INTERFACE)
|
||||
target_include_directories(Base64 INTERFACE .)
|
||||
|
||||
if (MSVC)
|
||||
if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
|
||||
target_precompile_headers(Base64 INTERFACE <string>)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue