Add build dependency on pcbcommon in qa test

The qa_pcbnew_util needs the pcb_lexer header that is generated
as part of pcbcommon, so it must be built after pcbcommon.
This commit is contained in:
Ian McInerney 2020-03-01 17:03:12 +00:00
parent daa41c663b
commit aa95ff10df
1 changed files with 5 additions and 1 deletions

View File

@ -53,6 +53,10 @@ target_include_directories( qa_pcbnew_utils PUBLIC
${INC_AFTER} ${INC_AFTER}
) )
add_dependencies( qa_pcbnew_utils
pcbcommon
)
target_link_libraries( qa_pcbnew_utils PUBLIC target_link_libraries( qa_pcbnew_utils PUBLIC
qa_utils qa_utils
) )