]> git.mxchange.org Git - simgear.git/commitdiff
Missing library for Apple
authorThomas Geymayer <tomgey@gmail.com>
Tue, 11 Jun 2013 16:04:06 +0000 (18:04 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 11 Jun 2013 16:04:06 +0000 (18:04 +0200)
CMakeLists.txt

index 838b027866616cef60396e8e473aad0b1922a070..b77576cda167a3315f9e5891cf2572ffa35975c3 100644 (file)
@@ -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)