From 6cec49ce7e7d8e89176cc9b4040e2a5b88c99790 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Tue, 11 Jun 2013 18:04:06 +0200 Subject: [PATCH] Missing library for Apple --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 838b0278..b77576cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -379,6 +379,10 @@ if(ENABLE_TESTS) ${ZLIB_LIBRARY} ${WINSOCK_LIBRARY} ${RT_LIBRARY}) + if(APPLE) + find_library(COCOA_LIBRARY Cocoa) + list(APPEND TEST_LIBS ${COCOA_LIBRARY}) + endif() endif() if(NOT SIMGEAR_HEADLESS) -- 2.39.5