Also add Unix files to wxQt CMake build
Similar to the last commit for configure-based build system. Co-Authored-By: Maarten Bent <MaartenBent@users.noreply.github.com>
This commit is contained in:
parent
fba8a119a1
commit
ed510012ba
2 changed files with 14 additions and 1 deletions
|
|
@ -167,6 +167,17 @@ set(BASE_OSX_NOTWXMAC_HDR
|
|||
${BASE_COREFOUNDATION_HDR}
|
||||
)
|
||||
|
||||
set(QT_UNIX_SRC
|
||||
src/unix/dialup.cpp
|
||||
src/unix/joystick.cpp
|
||||
src/unix/sound.cpp
|
||||
)
|
||||
|
||||
set(QT_UNIX_HDR
|
||||
wx/unix/joystick.h
|
||||
wx/unix/sound.h
|
||||
)
|
||||
|
||||
set(QT_WIN32_SRC
|
||||
src/msw/ole/automtn.cpp
|
||||
src/msw/ole/safearray.cpp
|
||||
|
|
|
|||
|
|
@ -50,7 +50,9 @@ elseif(WXOSX_IPHONE)
|
|||
wx_append_sources(CORE_SRC OSX_IPHONE)
|
||||
elseif(WXQT)
|
||||
wx_append_sources(CORE_SRC QT)
|
||||
if(WIN32)
|
||||
if(UNIX)
|
||||
wx_append_sources(CORE_SRC QT_UNIX)
|
||||
elseif(WIN32)
|
||||
wx_append_sources(CORE_SRC QT_WIN32)
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue