mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fix modern cmake version warnings
This commit is contained in:
parent
b03dad7626
commit
ed5b96c6b9
|
@ -84,6 +84,8 @@ option(DOWNLOAD_GTEST "Download and compile GTest" ${AUTO_DEPENDENCIES_DEFAULT})
|
|||
option(PREFER_BUNDLED_LIBS "Prefer bundled libraries over system libraries" ${AUTO_DEPENDENCIES_DEFAULT})
|
||||
option(DEV "Don't generate stuff necessary for packaging" OFF)
|
||||
|
||||
set(OpenGL_GL_PREFERENCE LEGACY)
|
||||
|
||||
# Set the default build type to Release
|
||||
if(NOT(CMAKE_BUILD_TYPE))
|
||||
if(NOT(DEV))
|
||||
|
@ -294,7 +296,7 @@ endif()
|
|||
find_package(ZLIB)
|
||||
find_package(Crypto)
|
||||
find_package(Curl)
|
||||
find_package(Freetype)
|
||||
find_package(OwnFreetype)
|
||||
if(DOWNLOAD_GTEST)
|
||||
find_package(Git)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue