mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-05 03:55:39 +00:00
17 lines
370 B
CMake
17 lines
370 B
CMake
add_executable(updater
|
|
updater.cpp
|
|
updater.h
|
|
)
|
|
|
|
target_link_libraries(updater PRIVATE common minizip zlib)
|
|
|
|
if(WIN32)
|
|
target_sources(updater PRIVATE
|
|
win32_main.cpp
|
|
win32_progress_callback.cpp
|
|
win32_progress_callback.h
|
|
)
|
|
target_link_libraries(updater PRIVATE "Comctl32.lib")
|
|
set_target_properties(updater PROPERTIES WIN32_EXECUTABLE TRUE)
|
|
endif()
|