1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 18:59:57 +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

6 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()