Commit 12243861 authored by Laurent Montel's avatar Laurent Montel 😁

Compile it when we use BUILD_TESTING

parent dbacdb82
......@@ -35,5 +35,6 @@ target_link_libraries(messageviewer_bodypartformatter_text_calendar
)
install(TARGETS messageviewer_bodypartformatter_text_calendar DESTINATION ${KDE_INSTALL_PLUGINDIR}/messageviewer/bodypartformatter)
add_subdirectory(tests)
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment