Some CMake fixups for kiplatform.
This commit is contained in:
parent
2bc6e5a856
commit
e1a8e53d07
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue