1diff --git a/libs/editor/CMakeLists.txt b/libs/editor/CMakeLists.txt
2index c96cf4c6..9fc2a210 100644
3--- a/libs/editor/CMakeLists.txt
4+++ b/libs/editor/CMakeLists.txt
5@@ -35,6 +35,11 @@ set(SRC
6 yes_no_unknown.hpp
7 )
8
9+if (NOT (SKIP_TOOLS AND SKIP_TESTS))
10+ # Used in both tests and some tools.
11+ add_subdirectory(editor_tests_support)
12+endif()
13+
14 omim_add_library(${PROJECT_NAME} ${SRC})
15
16 target_link_libraries(${PROJECT_NAME}