mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FREETYPE] CMakeLists.txt: Fix if conditions
This commit is contained in:
parent
3bc2d590a1
commit
bf4d47d969
1 changed files with 1 additions and 3 deletions
4
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
4
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
|
@ -55,11 +55,9 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(freetype ${SOURCE})
|
||||
|
||||
if (MSVC)
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "MSVC" AND ARCH STREQUAL "amd64")
|
||||
# error C4312: 'type cast': conversion from 'unsigned long' to 'void *' of greater size
|
||||
remove_target_compile_option(freetype "/we4312")
|
||||
elseif(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