AppleWin/source/frontends/sa2/CMakeLists.txt
Andrea Odetti 3ba2cd6d98 SDL2 add audio.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-10-20 15:32:45 +01:00

32 lines
494 B
CMake

include(FindPkgConfig)
add_executable(sa2
main.cpp
bitmaps.cpp
emulator.cpp
gamepad.cpp
sdirectsound.cpp
)
find_package(Boost REQUIRED
COMPONENTS program_options
)
find_package(SDL2 REQUIRED)
target_compile_features(sa2 PUBLIC cxx_std_17)
target_include_directories(sa2 PRIVATE
${Boost_INCLUDE_DIRS}
${SDL2_INCLUDE_DIRS}
)
target_link_libraries(sa2 PRIVATE
Boost::program_options
${SDL2_LIBRARIES}
appleii
common2
)
install(TARGETS sa2
DESTINATION bin)