summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-28 09:06:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-10-28 09:09:39 +0100
commit589371a5aa5d552533e2412bc995ae2a60405bf5 (patch)
tree830022e3f4aa5a985d1a6fe5fa5af1afd1e8f4ba /CMakeLists.txt
parent87b6d1572369111c72015e78181bb6a463c3796d (diff)
unbreak ftclient, needs MSVC no matter what
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5165b365..d0e7a6e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -199,7 +199,7 @@ endif()
opentrack_module(opentrack-compat compat)
opentrack_module(opentrack-xplane-plugin x-plane-plugin)
-opentrack_module(freetrackclient freetrackclient)
+#opentrack_module(freetrackclient freetrackclient)
if(SDK_XPLANE)
# probably librt already included
@@ -292,10 +292,10 @@ if(WIN32)
opentrack_library(opentrack-proto-win32-mouse ftnoir_protocol_mouse)
endif()
-if(WIN32)
- add_library(freetrackclient SHARED ${freetrackclient-c})
- set_target_properties(freetrackclient PROPERTIES PREFIX "")
-endif()
+#if(WIN32)
+# add_library(freetrackclient SHARED ${freetrackclient-c})
+# set_target_properties(freetrackclient PROPERTIES PREFIX "")
+#endif()
opentrack_library(opentrack-proto-udp ftnoir_protocol_ftn)
@@ -466,11 +466,12 @@ endif()
if(WIN32)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/bin/tracker-ht DESTINATION .)
- install(TARGETS freetrackclient RUNTIME DESTINATION . LIBRARY DESTINATION . )
+ #install(TARGETS freetrackclient RUNTIME DESTINATION . LIBRARY DESTINATION . )
endif()
install(DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty-notices DESTINATION .)
+install(FILES "${CMAKE_SOURCE_DIR}/bin/freetrackclient.dll" DESTINATION .)
install(FILES "${CMAKE_SOURCE_DIR}/bin/NPClient.dll" "${CMAKE_SOURCE_DIR}/bin/NPClient64.dll" "${CMAKE_SOURCE_DIR}/bin/TrackIR.exe" DESTINATION .)
install(DIRECTORY "${CMAKE_SOURCE_DIR}/bin/settings" "${CMAKE_SOURCE_DIR}/clientfiles" DESTINATION .)