aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-04-28 11:37:12 +0200
committerPierre Ossman <ossman@cendio.se>2017-04-28 12:58:57 +0200
commit5da019ad6bc54e10930b846f796851200e662783 (patch)
treeb865c44de82bace3ea9ae321bbe1398343521749 /tests
parentee234fe36a4d8be3baea010b22fe3019518625ce (diff)
downloadtigervnc-5da019ad6bc54e10930b846f796851200e662783.tar.gz
tigervnc-5da019ad6bc54e10930b846f796851200e662783.zip
Use correct color space for current monitor
We won't always be on the primary monitor, so check which color space we're actually using right now. For offscreen stuff we assume a standard sRGB color space. (cherry picked from commit 1669a2d5a15aa39313cb74eff4f62dfe14d136cd)
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 8ea99255..60edb013 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -27,7 +27,10 @@ set(FBPERF_SOURCES
if(WIN32)
set(FBPERF_SOURCES ${FBPERF_SOURCES} ../vncviewer/Surface_Win32.cxx)
elseif(APPLE)
- set(FBPERF_SOURCES ${FBPERF_SOURCES} ../vncviewer/Surface_OSX.cxx)
+ set(FBPERF_SOURCES
+ ${FBPERF_SOURCES} ../vncviewer/Surface_OSX.cxx
+ ${FBPERF_SOURCES} ../vncviewer/keysym2ucs.c
+ ${FBPERF_SOURCES} ../vncviewer/cocoa.mm)
else()
set(FBPERF_SOURCES ${FBPERF_SOURCES} ../vncviewer/Surface_X11.cxx)
endif()