aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2025-02-14 13:52:38 +0100
committerPierre Ossman <ossman@cendio.se>2025-02-27 10:23:33 +0100
commit09b5dd208e88731f503c8036b5e475023ec43735 (patch)
treea483a1edc30bd38ffd14f29a90c8a985381926fa /CMakeLists.txt
parent62c606d97312206f3dbe9122373e5b9b985ba57e (diff)
downloadtigervnc-09b5dd208e88731f503c8036b5e475023ec43735.tar.gz
tigervnc-09b5dd208e88731f503c8036b5e475023ec43735.zip
Enable Google Test unit test framework
Let's try to use something more proper for our unit tests.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 77990d04..75773460 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -396,6 +396,8 @@ if(UNIX AND NOT APPLE)
endif()
endif()
+find_package(GTest)
+
# Generate config.h and make sure the source finds it
configure_file(config.h.in config.h)
add_definitions(-DHAVE_CONFIG_H)