Source/Core/UpdaterCommon/CMakeLists.txt
raw| 1 | add_library(updatercommon |
| 2 | UI.h |
| 3 | UpdaterCommon.cpp |
| 4 | UpdaterCommon.h |
| 5 | ) |
| 6 | |
| 7 | target_link_libraries(updatercommon PRIVATE |
| 8 | uicommon |
| 9 | MbedTLS::mbedtls |
| 10 | ZLIB::ZLIB |
| 11 | ed25519 |
| 12 | cpp-optparse |
| 13 | ) |
| 14 | |
| 15 | if(MSVC) |
| 16 | # Add precompiled header |
| 17 | target_link_libraries(updatercommon PRIVATE use_pch) |
| 18 | endif() |