Update singletop eeschema to append the new schematic extension

This is used when launching a single top instance and no extension
is supplied to the filename given.
This commit is contained in:
Ian McInerney 2021-03-03 00:22:32 +00:00
parent 0ce8bce753
commit 69e310918e
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ add_executable( eeschema WIN32 MACOSX_BUNDLE
${EESCHEMA_RESOURCES}
)
set_source_files_properties( ${CMAKE_SOURCE_DIR}/common/single_top.cpp PROPERTIES
COMPILE_DEFINITIONS "TOP_FRAME=FRAME_SCH;PGM_DATA_FILE_EXT=\"sch\";BUILD_KIWAY_DLL"
COMPILE_DEFINITIONS "TOP_FRAME=FRAME_SCH;PGM_DATA_FILE_EXT=\"kicad_sch\";BUILD_KIWAY_DLL"
)
target_link_libraries( eeschema
#singletop # replaces common, giving us restrictive control and link warnings.