mumble/plugins/cod2/CMakeLists.txt
Davide Beatrici ea69658bba FIX(positional-audio): Fix and revamp Call of Duty 2 plugin
It was not working because the camera position values were all set to 0.

This commit fixes the issue while also revamping the code.
2021-03-17 08:07:27 +01:00

19 lines
474 B
CMake

# Copyright 2019-2021 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>.
add_library(cod2 SHARED
"cod2.cpp"
"../Module.cpp"
"../Process.cpp"
"../ProcessWindows.cpp"
)
if(WIN32)
target_sources(cod2 PRIVATE "../HostWindows.cpp")
else()
target_sources(cod2 PRIVATE "../HostLinux.cpp")
endif()