diff --git a/image/icon.ico b/image/icon.ico new file mode 100644 index 00000000..6b02991b Binary files /dev/null and b/image/icon.ico differ diff --git a/image/icon.rc b/image/icon.rc new file mode 100644 index 00000000..2b6bb06f --- /dev/null +++ b/image/icon.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON "icon.ico" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a8ff8518..ff849101 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,6 +44,8 @@ if (WIN32) set(SQLITE3_LIB ${PROJECT_SOURCE_DIR}/lib/win/sqlite3.dll) set(CRYPTO_LIB OpenSSL::Crypto) set(GIT_LIB ${PROJECT_SOURCE_DIR}/lib/win/libgit2.dll) + set(app_icon_resource_windows "${PROJECT_SOURCE_DIR}/image/icon.rc") + list(APPEND freekill_SRCS ${app_icon_resource_windows}) elseif (ANDROID) set(LUA_LIB ${PROJECT_SOURCE_DIR}/lib/android/liblua54.so) set(SQLITE3_LIB ${PROJECT_SOURCE_DIR}/lib/android/libsqlite3.so)