1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-27 06:14:09 +00:00
OpenMW/extern/Base64/CMakeLists.txt
elsid 5859fd464c
Add option to disable precompiled headers
To be able to use ccache.

Also fix compilation errors appeared due to absence of precompiled
headers.
2024-03-08 02:11:51 +01:00

7 lines
186 B
CMake

add_library(Base64 INTERFACE)
target_include_directories(Base64 INTERFACE .)
if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
target_precompile_headers(Base64 INTERFACE <string>)
endif()