mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
[SDK][FREETYPE] Fix GCC8.4 -O2 build
This commit is contained in:
parent
924f19f6dc
commit
5349f49cfe
1 changed files with 4 additions and 2 deletions
6
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
6
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
|
@ -60,6 +60,8 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(freetype ${SOURCE})
|
||||
|
||||
if(USE_CLANG_CL)
|
||||
target_compile_options(freetype PRIVATE "-Wno-tautological-constant-compare")
|
||||
if(GCC)
|
||||
target_compile_options(freetype PRIVATE -fno-builtin-malloc)
|
||||
elseif(CLANG)
|
||||
target_compile_options(freetype PRIVATE -Wno-tautological-constant-compare)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue