From: Thomas Geymayer Date: Tue, 11 Jun 2013 16:04:06 +0000 (+0200) Subject: Missing library for Apple X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6cec49ce7e7d8e89176cc9b4040e2a5b88c99790;p=simgear.git Missing library for Apple --- 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)