1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 22:39:42 +00:00

Integrate Base64 library with build

This commit is contained in:
AnyOldName3 2021-05-17 23:00:23 +01:00
parent 2b1326cb74
commit 081650a2e5
4 changed files with 7 additions and 0 deletions

View file

@ -516,6 +516,7 @@ endif (CMAKE_CXX_COMPILER_ID STREQUAL GNU OR CMAKE_CXX_COMPILER_ID STREQUAL Clan
add_subdirectory (extern/osg-ffmpeg-videoplayer)
add_subdirectory (extern/oics)
add_subdirectory (extern/Base64)
if (BUILD_OPENCS)
add_subdirectory (extern/osgQt)
endif()

View file

@ -251,6 +251,8 @@ target_link_libraries(components
RecastNavigation::DebugUtils
RecastNavigation::Detour
RecastNavigation::Recast
Base64
)
target_link_libraries(components ${BULLET_LIBRARIES})

View file

@ -7,6 +7,8 @@
#include <boost/filesystem/fstream.hpp>
#include <Base64.h>
void Settings::SettingsFileParser::loadSettingsFile(const std::string& file, CategorySettingValueMap& settings, bool base64Encoded)
{
mFile = file;

2
extern/Base64/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,2 @@
add_library(Base64 INTERFACE)
target_include_directories(Base64 INTERFACE .)