Compile MariaDBMonitor unit tests only if flag is set
This commit is contained in:
parent
1c8c222ad1
commit
8cef8b9472
@ -4,4 +4,6 @@ target_link_libraries(mariadbmon maxscale-common)
|
||||
add_dependencies(mariadbmon pcre2)
|
||||
set_target_properties(mariadbmon PROPERTIES VERSION "1.4.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mariadbmon core)
|
||||
add_subdirectory(test)
|
||||
if(BUILD_TESTS)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user