summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-13 12:09:00 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-13 12:09:00 +0200
commit7a433a12f0e4989f2f473a40fbac550d5daae6dc (patch)
tree7f4b9da9a5af29327f8b1ca62a559134c59eafbc
parent5d912fc85519e3d0f387a7183711bb5baf521e8a (diff)
Windows: Added app icon as resource
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 38d36377..c4daf800 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,7 +70,7 @@ set (EMBED_RESOURCES
70 res/fonts/SourceSansPro-Bold.ttf 70 res/fonts/SourceSansPro-Bold.ttf
71 res/fonts/Symbola.ttf 71 res/fonts/Symbola.ttf
72) 72)
73if (UNIX AND NOT APPLE) 73if ((UNIX AND NOT APPLE) OR MSYS)
74 list (APPEND EMBED_RESOURCES res/lagrange-64.png) 74 list (APPEND EMBED_RESOURCES res/lagrange-64.png)
75endif () 75endif ()
76embed_make (${EMBED_RESOURCES}) 76embed_make (${EMBED_RESOURCES})
@@ -260,7 +260,7 @@ if (APPLE)
260 ) 260 )
261endif () 261endif ()
262if (MSYS) 262if (MSYS)
263 target_link_libraries (app PUBLIC d2d1 uuid) # querying DPI 263 target_link_libraries (app PUBLIC d2d1 uuid dwmapi) # querying DPI
264endif () 264endif ()
265if (UNIX) 265if (UNIX)
266 target_link_libraries (app PUBLIC m) 266 target_link_libraries (app PUBLIC m)