mumble/plugins/css/CMakeLists.txt
Robert a25e224122 BUILD(cmake): Don't build retracted plugins by default
As these plugins typically don't do anything anymore it doesn't make all
that much sense to include them by default.

If you still want to include retracted plugins, use
-Dretracted-plugins=ON when invoking cmake.
2020-09-26 09:14:39 +02:00

12 lines
473 B
CMake

# Copyright 2019-2020 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
set(PLUGIN_RETRACTED ON PARENT_SCOPE)
if(retracted-plugins)
add_library(css SHARED "../null_plugin.cpp")
target_compile_definitions(css PRIVATE "NULL_DESC=L\"Counter Strike: Source (retracted, now using Link)\"")
endif()