From 69e310918e03e0f011177f557bb25150179fde16 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Wed, 3 Mar 2021 00:22:32 +0000 Subject: [PATCH] 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. --- eeschema/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index fee129aaae..b74a542959 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -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.