Files
nixpkgs/pkgs/by-name/co/comaps/fix-editor-tests.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
433 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/libs/editor/CMakeLists.txt b/libs/editor/CMakeLists.txt
index c96cf4c6..9fc2a210 100644
--- a/libs/editor/CMakeLists.txt
+++ b/libs/editor/CMakeLists.txt
@@ -35,6 +35,11 @@ set(SRC
yes_no_unknown.hpp
)
+if (NOT (SKIP_TOOLS AND SKIP_TESTS))
+ # Used in both tests and some tools.
+ add_subdirectory(editor_tests_support)
+endif()
+
omim_add_library(${PROJECT_NAME} ${SRC})
target_link_libraries(${PROJECT_NAME}