commit f3a96fb833a3c6773790de82df39a8c95a8abe77 Author: Kornel Benko <kor...@lyx.org> Date: Mon Apr 21 19:14:25 2014 +0200
Cmake build: Add include path for src/tests/dummy_functions.cpp Othervise the statement '#include "../Messages.h"' results in error. diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index ce5b355..0a45ad5 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -12,6 +12,8 @@ foreach(_f insets/InsetLayout.cpp Color.cpp Counters.cpp Floating.cpp list(APPEND check_layout_SOURCES "${TOP_SRC_DIR}/src/${_f}") endforeach() +include_directories(${TOP_SRC_DIR}/src/support/tests) + add_executable(check_layout ${check_layout_SOURCES}) target_link_libraries(check_layout support