Add guards preventing various illogical combinations of BUILD_* options

This commit is contained in:
Tim Angus committed 2025-08-13 10:14:30 +01:00
1 parent 2c893f2fc2
commit 271fa26ab4
10 files changed
+34 -2

No files matched your search

+4
View File
@@ -2,6 +2,10 @@ if(NOT USE_FREETYPE)
return()
endif()
if(NOT BUILD_RENDERER_GL1 AND NOT BUILD_RENDERER_GL2)
return()
endif()
find_package(Freetype REQUIRED)
list(APPEND RENDERER_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})