summaryrefslogtreecommitdiffhomepage
path: root/x-plane-plugin
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-23 09:40:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-23 09:41:03 +0200
commitfadbc9f71f21e5147825dd5db7bf5e4c68a58178 (patch)
treed98639b011f1c87dbd98f8c00fad165358d3e124 /x-plane-plugin
parentfd7169d960c2bec72b0c463aae49770674b1dfbb (diff)
cmake/x-plane-plugin: remove typo var name. enough to check for cxx
Diffstat (limited to 'x-plane-plugin')
-rw-r--r--x-plane-plugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-plane-plugin/CMakeLists.txt b/x-plane-plugin/CMakeLists.txt
index a58c76a9..616f0d54 100644
--- a/x-plane-plugin/CMakeLists.txt
+++ b/x-plane-plugin/CMakeLists.txt
@@ -7,7 +7,7 @@ if(LINUX OR APPLE)
add_library(opentrack-xplane-plugin SHARED ${opentrack-xplane-plugin-c})
target_include_directories(opentrack-xplane-plugin SYSTEM PUBLIC ${SDK_XPLANE}/CHeaders ${SDK_XPLANE}/CHeaders/XPLM)
set(vis "-fvisibility=hidden")
- if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC AND NOT APPLE)
+ if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE)
SET_TARGET_PROPERTIES(opentrack-xplane-plugin
PROPERTIES LINK_FLAGS
"-shared -rdynamic -nodefaultlibs -undefined_warning -fPIC"