Add missing examples to installation

The CDC examples are now installed if the CDC protocol module is built.
This commit is contained in:
Markus Makela 2016-09-09 16:01:16 +03:00
parent d7f79942be
commit a32b4bdf6b
2 changed files with 1 additions and 2 deletions

View File

@ -306,4 +306,3 @@ if (NOT CMAKE_INSTALL_PREFIX EQUAL "/usr")
install(DIRECTORY DESTINATION var/log/maxscale)
install(DIRECTORY DESTINATION var/run/maxscale)
endif()

View File

@ -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()