summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt7
-rw-r--r--src/app/main.cpp1
2 files changed, 7 insertions, 1 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}
)
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 1e70beb..5c0afd3 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -28,7 +28,6 @@
#include "common/misc.h"
#include "common/restext.h"
-#include <SDL.h>
/* Doxygen main page */