Add guards preventing various illogical combinations of BUILD_* options
This commit is contained in:
1 parent
2c893f2fc2
commit
271fa26ab4
10 files changed
+34
-2
No files matched your search
@@ -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})
|
||||
|
||||
Reference in new issue
Block a user