mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-02 02:36:41 +00:00
Integrate Base64 library with build
This commit is contained in:
parent
2b1326cb74
commit
081650a2e5
4 changed files with 7 additions and 0 deletions
|
@ -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/osg-ffmpeg-videoplayer)
|
||||||
add_subdirectory (extern/oics)
|
add_subdirectory (extern/oics)
|
||||||
|
add_subdirectory (extern/Base64)
|
||||||
if (BUILD_OPENCS)
|
if (BUILD_OPENCS)
|
||||||
add_subdirectory (extern/osgQt)
|
add_subdirectory (extern/osgQt)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -251,6 +251,8 @@ target_link_libraries(components
|
||||||
RecastNavigation::DebugUtils
|
RecastNavigation::DebugUtils
|
||||||
RecastNavigation::Detour
|
RecastNavigation::Detour
|
||||||
RecastNavigation::Recast
|
RecastNavigation::Recast
|
||||||
|
|
||||||
|
Base64
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(components ${BULLET_LIBRARIES})
|
target_link_libraries(components ${BULLET_LIBRARIES})
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
#include <boost/filesystem/fstream.hpp>
|
#include <boost/filesystem/fstream.hpp>
|
||||||
|
|
||||||
|
#include <Base64.h>
|
||||||
|
|
||||||
void Settings::SettingsFileParser::loadSettingsFile(const std::string& file, CategorySettingValueMap& settings, bool base64Encoded)
|
void Settings::SettingsFileParser::loadSettingsFile(const std::string& file, CategorySettingValueMap& settings, bool base64Encoded)
|
||||||
{
|
{
|
||||||
mFile = file;
|
mFile = file;
|
||||||
|
|
2
extern/Base64/CMakeLists.txt
vendored
Normal file
2
extern/Base64/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
add_library(Base64 INTERFACE)
|
||||||
|
target_include_directories(Base64 INTERFACE .)
|
Loading…
Reference in a new issue