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}
)
add_dependencies( qa_pcbnew_utils
pcbcommon
)
target_link_libraries( qa_pcbnew_utils PUBLIC
qa_utils
)
@ -79,4 +83,4 @@ target_link_libraries( qa_pcbnew_utils PUBLIC
# # we need to pretend to be something to appease the units code
target_compile_definitions( qa_pcbnew_utils
PUBLIC PCBNEW
)
)