summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
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:20:19 +0200
commitca1c7afaf6530c64c118105f167c2d08d6f13e05 (patch)
tree57c68f05555bdc1847d19bd94c262665e7b84a48 /CMakeLists.txt
parent5f7703409b9ea6ded850e4f5382a4ca2983a8a6f (diff)
x-plane plugin osx fixes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19fb2668..17179cb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -241,7 +241,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)