pcsx2/updater/CMakeLists.txt

24 lines
470 B
CMake
Raw Normal View History

2022-05-12 10:23:01 +00:00
add_executable(updater
2022-08-22 11:08:28 +00:00
SZErrors.h
2022-05-12 10:23:01 +00:00
Updater.cpp
Updater.h
2022-08-22 11:08:28 +00:00
UpdaterExtractor.h
2022-05-12 10:23:01 +00:00
)
2022-05-12 16:07:09 +00:00
target_link_libraries(updater PRIVATE common fmt::fmt)
2022-08-22 11:08:28 +00:00
target_include_directories(updater PRIVATE .)
2022-05-12 10:23:01 +00:00
if(WIN32)
2022-05-12 16:07:09 +00:00
target_link_libraries(updater PRIVATE
LZMA::LZMA
2022-08-22 11:08:28 +00:00
Comctl32.lib
2022-05-12 16:07:09 +00:00
)
2022-05-12 10:23:01 +00:00
target_sources(updater PRIVATE
2022-08-22 11:08:28 +00:00
Windows/WindowsUpdater.cpp
Windows/resource.h
Windows/updater.rc
Windows/updater.manifest
2022-05-12 10:23:01 +00:00
)
2022-08-22 11:08:28 +00:00
set_target_properties(updater PROPERTIES WIN32_EXECUTABLE TRUE)
2022-05-12 10:23:01 +00:00
endif()