From 5aef1a87001036a1b6c57aa99bd0596f07630e53 Mon Sep 17 00:00:00 2001 From: Gijs de Rooy Date: Thu, 26 Jan 2017 15:16:21 +0100 Subject: [PATCH] Let CMake install fgqcanvas --- utils/fgqcanvas/CMakeLists.txt | 2 ++ utils/fgqcanvas/README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/fgqcanvas/CMakeLists.txt b/utils/fgqcanvas/CMakeLists.txt index fb75c97ee..37df5eeb8 100644 --- a/utils/fgqcanvas/CMakeLists.txt +++ b/utils/fgqcanvas/CMakeLists.txt @@ -55,3 +55,5 @@ target_include_directories(fgqcanvas PRIVATE ${PROJECT_SOURCE_DIR}) # so ui_foo.h files are found target_include_directories(fgqcanvas PRIVATE ${PROJECT_BINARY_DIR}) + +install(TARGETS fgqcanvas RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) \ No newline at end of file diff --git a/utils/fgqcanvas/README.md b/utils/fgqcanvas/README.md index f739b0b92..54efa0f3a 100644 --- a/utils/fgqcanvas/README.md +++ b/utils/fgqcanvas/README.md @@ -9,7 +9,7 @@ any canvas in real-time. Start FlightGear with the '--httpd' option, passing a port number. This can be done in the 'additional options' box if using the launcher. -* `--httpd 8080` +* `--httpd=8080` Start FGQCanvas and enter the WebSocket url, with a suitable host-name and port. Provide the path to the Canvas you want to display (this part will become