From 7b7990fb42ff8bd1c76f114a12b6cbf53a478108 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 19 Dec 2018 13:47:44 +0100 Subject: cmake, modules: fix project language logic errors --- x-plane-plugin/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x-plane-plugin') diff --git a/x-plane-plugin/CMakeLists.txt b/x-plane-plugin/CMakeLists.txt index 21809fb3..b827b7ab 100644 --- a/x-plane-plugin/CMakeLists.txt +++ b/x-plane-plugin/CMakeLists.txt @@ -1,5 +1,5 @@ if(LINUX OR APPLE) - set(SDK_XPLANE "" CACHE PATH "Path to X-Plane SDK") + set(SDK_XPLANE "" CACHE PATH "Path to the X-Plane SDK") if(SDK_XPLANE) otr_module(xplane-plugin NO-QT) @@ -19,7 +19,7 @@ if(LINUX OR APPLE) LINK_FLAGS "-rdynamic -nodefaultlibs -fPIC ") endif() - if(CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_COMPILER_IS_CLANGXX) + if(CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_COMPILER_IS_CLANG) set_property(TARGET opentrack-xplane-plugin APPEND_STRING PROPERTY LINK_FLAGS "-undefined_warning ") endif() -- cgit v1.2.3