Browse Source

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.
pull/16/head
Ian McInerney 6 years ago
parent
commit
aa95ff10df
  1. 6
      qa/pcbnew_utils/CMakeLists.txt

6
qa/pcbnew_utils/CMakeLists.txt

@ -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
)
)
Loading…
Cancel
Save