From a32b4bdf6b0067c9b9b06714aeb226feaa55950c Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Fri, 9 Sep 2016 16:01:16 +0300 Subject: [PATCH] Add missing examples to installation The CDC examples are now installed if the CDC protocol module is built. --- CMakeLists.txt | 1 - server/modules/protocol/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8df13a184..9119f5ad7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,4 +306,3 @@ if (NOT CMAKE_INSTALL_PREFIX EQUAL "/usr") install(DIRECTORY DESTINATION var/log/maxscale) install(DIRECTORY DESTINATION var/run/maxscale) endif() - diff --git a/server/modules/protocol/CMakeLists.txt b/server/modules/protocol/CMakeLists.txt index eb2dc0482..423ab83df 100644 --- a/server/modules/protocol/CMakeLists.txt +++ b/server/modules/protocol/CMakeLists.txt @@ -1,5 +1,6 @@ if(BUILD_CDC) add_subdirectory(CDC) + add_subdirectory(examples) endif() add_subdirectory(HTTPD) @@ -8,7 +9,6 @@ add_subdirectory(MySQLBackend) add_subdirectory(MySQLClient) add_subdirectory(telnetd) - if(BUILD_TESTS) add_subdirectory(testprotocol) endif()