]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/CMakeLists.txt
Fix shared library build for metar executable
[flightgear.git] / src / GUI / CMakeLists.txt
index 6fd3f47043a918105b48b6e21a7d245f182b9e2a..b44a90f09979682a55f3ad4a94519dccf9271cf6 100644 (file)
@@ -13,6 +13,7 @@ set(SOURCES
        layout-props.cxx
        layout.cxx
        menubar.cxx
+       FGPUIMenuBar.cxx
        new_gui.cxx
        property_list.cxx
        FGFontCache.cxx
@@ -29,10 +30,16 @@ set(HEADERS
        gui.h
        layout.hxx
        menubar.hxx
+       FGPUIMenuBar.hxx
        new_gui.hxx
        property_list.hxx
        FGFontCache.hxx
        FGColor.hxx
        )
                
+if (APPLE)
+    list(APPEND HEADERS FGCocoaMenuBar.hxx)
+    list(APPEND SOURCES FGCocoaMenuBar.mm)
+endif()
+               
 flightgear_component(GUI "${SOURCES}" "${HEADERS}")