Some CMake fixups for kiplatform.

This commit is contained in:
Alex Shvartzkop 2024-06-01 07:13:15 +03:00
parent 2bc6e5a856
commit e1a8e53d07
1 changed files with 2 additions and 2 deletions

View File

@ -9,13 +9,13 @@ set( PLATFORM_COMPILE_DEFS "" )
# Add port-specific files and definitions # Add port-specific files and definitions
if( KICAD_WX_PORT STREQUAL osx ) if( KICAD_WX_PORT STREQUAL osx )
set( PLATFORM_SRCS set( PLATFORM_SRCS
port/wxosx/ui.cpp port/wxosx/ui.mm
) )
elseif( KICAD_WX_PORT STREQUAL msw ) elseif( KICAD_WX_PORT STREQUAL msw )
set( PLATFORM_SRCS set( PLATFORM_SRCS
port/wxmsw/ui.cpp port/wxmsw/ui.cpp
) )
elseif( KICAD_WX_PORT STREQUAL gtk3 ) elseif( KICAD_WX_PORT STREQUAL gtk )
set( PLATFORM_SRCS set( PLATFORM_SRCS
port/wxgtk/ui.cpp port/wxgtk/ui.cpp
) )