mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Fix build?
This commit is contained in:
@@ -404,8 +404,10 @@ function build_base_cpp_configuration( package_name )
|
||||
buildoptions{ "-fPIC" }
|
||||
end
|
||||
|
||||
if is_vs() then
|
||||
buildoptions { "/utf-8" }
|
||||
if not is_vs() then
|
||||
buildoptions{ "-std=c++17" }
|
||||
else
|
||||
buildoptions{ "/std:c++17", "/utf-8" }
|
||||
end
|
||||
|
||||
set_ios_config()
|
||||
|
||||
@@ -256,13 +256,14 @@ function build_base_cpp_configuration( package_name )
|
||||
set_ios_config()
|
||||
set_apple_config()
|
||||
build_arch_configuration()
|
||||
cppdialect "C++17"
|
||||
|
||||
if _OPTIONS["with-static-eepp"] then
|
||||
defines { "EE_STATIC" }
|
||||
end
|
||||
|
||||
filter "action:vs*"
|
||||
buildoptions { "/utf-8" }
|
||||
buildoptions{ "/std:c++17", "/utf-8" }
|
||||
|
||||
filter "action:not vs*"
|
||||
buildoptions { "-Wall" }
|
||||
|
||||
@@ -1309,7 +1309,7 @@ void Text::ensureGeometryUpdate() {
|
||||
|
||||
while ( run.hasNext() ) {
|
||||
String::View curRun( run.curRun() );
|
||||
FontTrueType* font = static_cast<FontTrueType*>( run.font() );
|
||||
FontTrueType* font = run.font();
|
||||
font->setCurrentSize( mFontStyleConfig.CharacterSize );
|
||||
|
||||
hb_buffer_reset( hbBuffer );
|
||||
|
||||
Reference in New Issue
Block a user