Shut up some CMake warnings
This commit is contained in:
parent
cf0ee89e93
commit
6b34ea64c5
1 changed files with 4 additions and 4 deletions
|
@ -516,10 +516,10 @@ else()
|
||||||
# Compile it ourselves
|
# Compile it ourselves
|
||||||
message(STATUS "Using local FreeType")
|
message(STATUS "Using local FreeType")
|
||||||
if(FORCE_LOCAL_LIBS)
|
if(FORCE_LOCAL_LIBS)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz ON CACHE INTERNAL "" FORCE)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON CACHE INTERNAL "" FORCE)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_PNG ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_PNG ON CACHE INTERNAL "" FORCE)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_BZip2 ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_BZip2 ON CACHE INTERNAL "" FORCE)
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory("external/freetype" EXCLUDE_FROM_ALL)
|
add_subdirectory("external/freetype" EXCLUDE_FROM_ALL)
|
||||||
target_link_libraries(CSE2 PRIVATE freetype)
|
target_link_libraries(CSE2 PRIVATE freetype)
|
||||||
|
|
Loading…
Add table
Reference in a new issue