mirror of https://github.com/OpenMW/openmw.git
Use target_precompile_headers for the most expensive headers
parent
8a13cde778
commit
7e6c13630a
@ -1,2 +1,6 @@
|
|||||||
add_library(Base64 INTERFACE)
|
add_library(Base64 INTERFACE)
|
||||||
target_include_directories(Base64 INTERFACE .)
|
target_include_directories(Base64 INTERFACE .)
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16 AND MSVC)
|
||||||
|
target_precompile_headers(Base64 INTERFACE <string>)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue