Add kicad_3dsg copy for qa_pcbnew to run out of build dir
Mirror of the pcbnew step for the same reason
This commit is contained in:
parent
34e90e5045
commit
b85fb9137f
|
@ -111,4 +111,11 @@ target_link_libraries( qa_pcbnew
|
|||
${PCBNEW_EXTRA_LIBS} # -lrt must follow Boost
|
||||
)
|
||||
|
||||
if( WIN32 )
|
||||
# Copy dynamic lib dependency to build dir to allow running directly
|
||||
add_custom_command( TARGET qa_pcbnew POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:kicad_3dsg>" "$<TARGET_FILE_DIR:qa_pcbnew>"
|
||||
)
|
||||
endif()
|
||||
|
||||
kicad_add_boost_test( qa_pcbnew qa_pcbnew )
|
||||
|
|
Loading…
Reference in New Issue