mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[SDK][FREETYPE] Fix GCC8.4 -O2 build
This commit is contained in:
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()
|
||||
|
||||
Reference in New Issue
Block a user