From 05d0eaf5fc4947081ae743a58e8675991e3f2422 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 31 Jul 2011 00:39:43 +0300 Subject: added windows icon --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8ce69b2ad..9bb266784 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -128,6 +128,11 @@ set(common_SRCS base64.cpp ) +# This gives us the icon +if(WIN32 AND MSVC) + set(common_SRCS ${common_SRCS} winresource.rc) +endif() + # Client sources set(minetest_SRCS ${common_SRCS} -- cgit v1.2.3 From 149875607ca926e99bdc6c855e56aba8569bb1a9 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 31 Jul 2011 00:51:18 +0300 Subject: updated CMakeList.txts a bit --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9bb266784..4d51f7104 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -130,7 +130,7 @@ set(common_SRCS # This gives us the icon if(WIN32 AND MSVC) - set(common_SRCS ${common_SRCS} winresource.rc) + set(common_SRCS ${common_SRCS} winresource.rc) endif() # Client sources -- cgit v1.2.3