summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c01fe0f..2fab853 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -50,6 +50,12 @@ if(OPENAL_SOUND)
)
endif()
+set(RES_FILES "")
+
+if(PLATFORM_WINDOWS)
+ set(RES_FILES "../desktop/colobot.rc")
+endif()
+
# Platform-dependent implementation of system.h
if(PLATFORM_WINDOWS)
set(SYSTEM_CPP_MODULE "system_windows.cpp")
@@ -182,6 +188,7 @@ ui/studio.cpp
ui/target.cpp
ui/window.cpp
${OPENAL_SRC}
+${RES_FILES}
)