summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-24 09:15:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-24 09:15:00 +0200
commit3c4d10ead91f54fcaa52267aa7f8d81a09336e2a (patch)
treedb4bcc99e1fc0cee56e00f718c3a7f02f4742a2d
parentd1485873f18d04d8c2aad28d67c51c25a6653d04 (diff)
x-plane plugin osx fixes
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3648e58c..6be4e425 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -235,7 +235,9 @@ if(SDK_XPLANE)
if(APPLE)
SET_TARGET_PROPERTIES(opentrack-xplane-plugin PROPERTIES
COMPILE_FLAGS "-iframework ${SDK_XPLANE}/Libraries/Mac/ -DAPL -DXPLM200 -DXPLM210 -framework XPLM -framework XPWidgets"
- LINK_FLAGS "-F${SDK_XPLANE}/Libraries/Mac/ -framework XPLM -framework XPWidgets")
+ LINK_FLAGS "-F${SDK_XPLANE}/Libraries/Mac/ -framework XPLM -framework XPWidgets"
+ LIBRARY_OUTPUT_NAME "opentrack.xpl"
+ PREFIX "" SUFFIX "")
endif()
if(UNIX AND NOT APPLE)
target_link_libraries(opentrack-xplane-plugin rt)