AppleWin/source/frontends/qapple/CMakeLists.txt
Andrea Odetti d44bc6c019 Improve cmake detection of required libraries.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 09:36:16 +00:00

34 lines
502 B
CMake

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_executable(qapple
main.cpp
qapple.qrc
qapple.cpp
qresources.cpp
preferences.cpp
emulator.cpp
memorycontainer.cpp
graphicscache.cpp
gamepadpaddle.cpp
video.cpp
settings.cpp
configuration.cpp
commands.cpp
chunks.cpp
qhexedit.cpp
)
find_package(Qt5 REQUIRED
COMPONENTS Widgets Gamepad
)
target_link_libraries(qapple
Qt5::Widgets
Qt5::Gamepad
appleii
)