Update CMakeLists.txt

This commit is contained in:
Paul 2022-10-11 12:51:07 +00:00 committed by GitHub
parent 42349d3b02
commit dfe5b77381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -681,7 +681,7 @@ if(DISCORD_DYNAMIC)
endif()
endif()
if(NOT(PNG_FOUND))
message(SEND_ERROR "You must install libpng to compile DDNet")
message(SEND_ERROR "You must install libpng to compile ${CMAKE_PROJECT_NAME}")
endif()
if(CLIENT AND NOT(FREETYPE_FOUND))
message(SEND_ERROR "You must install Freetype to compile the ${CMAKE_PROJECT_NAME} client")