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_OPENAL)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(NOT BUILD_CLIENT)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(INTERNAL_OPENAL_DIR ${SOURCE_DIR}/thirdparty/openal-soft-1.24.3)
|
||||
|
||||
find_package(OpenAL QUIET)
|
||||
|
||||
Reference in new issue
Block a user