summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-17 12:47:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-17 12:47:48 +0200
commit2b50200ca979cbf33d8e67503db341a6f62d1604 (patch)
tree0182422f1c91df3c405bfee58815413662bddd4d /CMakeLists.txt
parent679f424c250a38473c82bf1f997b75fbea4d3758 (diff)
ftclient: compile as C, cleanup
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f79c7cd..5f666936 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -206,7 +206,7 @@ file(GLOB opentrack-xplane-plugin-c "x-plane-plugin/*.c")
# freetrack
-file(GLOB opentrack-freetrack-c "freetrackclient/*.cpp")
+file(GLOB opentrack-freetrack-c "freetrackclient/*.c" "freetrackclient/*.def")
if(SDK_XPLANE)
# probably librt already included
@@ -296,9 +296,6 @@ endif()
if(WIN32)
add_library(freetrackclient SHARED ${opentrack-freetrack-c})
- if(CMAKE_COMPILER_IS_GNUCC)
- set_target_properties(freetrackclient PROPERTIES LINK_FLAGS "-Wl,--enable-stdcall-fixup -fno-lto -Wl,-kill-at" PREFIX "" COMPILE_FLAGS "-fno-lto")
- endif()
endif()
opentrack_library(opentrack-proto-udp)