From dbfc4c1e48e2a64fbf3a4a7dc5a8e0aef014777e Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 6 Apr 2021 21:55:02 +0200 Subject: [PATCH] use absolute paths to lex & yacc files in lib/common for CMake With relative paths, lcov has trouble finding them. --- lib/common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/CMakeLists.txt b/lib/common/CMakeLists.txt index de233fd8b..3cde1e318 100644 --- a/lib/common/CMakeLists.txt +++ b/lib/common/CMakeLists.txt @@ -1,4 +1,4 @@ -BISON_TARGET(HTMLparse htmlparse.y ${CMAKE_CURRENT_BINARY_DIR}/htmlparse.c) +BISON_TARGET(HTMLparse ${CMAKE_CURRENT_SOURCE_DIR}/htmlparse.y ${CMAKE_CURRENT_BINARY_DIR}/htmlparse.c) add_definitions(-DGVC_EXPORTS -D_BLD_gvc=1) -- 2.50.0