Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRobert <krzmbrzl@gmail.com>2020-09-11 17:49:45 +0300
committerRobert <krzmbrzl@gmail.com>2020-09-11 19:13:56 +0300
commita8a857928d107736b8559513fd0158270abeda73 (patch)
treec3faf5c88b1c18236bff1d0be665a138ba6ae2be /cmake
parentd5a059f13abfdcdd6e7143d77370e4a156894789 (diff)
BUILD(cmake): Don't re-use BUILD_TESTING
We used the BUILD_TESTING variable in order to indicate whether or not tests shall be built. However this variable is used by e.g. CTest already and there it had a different default value. Therefore we now deprecate BUILD_TESTING and use the tests option instead. This also fits better with our other options in terms of casing.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/os.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/os.cmake b/cmake/os.cmake
index 659ba6a68..db0e00618 100644
--- a/cmake/os.cmake
+++ b/cmake/os.cmake
@@ -3,7 +3,7 @@
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
-if(BUILD_TESTING)
+if(tests)
if(WIN32 AND NOT ${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
# We're building for Windows on a different operating system.
find_program(WINE