summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-03-22 18:19:53 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2013-03-22 19:17:08 +0100
commit4a30800cf16d403a7c25d78388e2822aa396ac86 (patch)
tree772753228bab7b0b4ba47e89580ed86de0ca098f /src/tools
parent1406464f0ce0b804298e2ee034bdd8bc7856e0dc (diff)
downloadcolobot-4a30800cf16d403a7c25d78388e2822aa396ac86.tar.gz
colobot-4a30800cf16d403a7c25d78388e2822aa396ac86.tar.bz2
colobot-4a30800cf16d403a7c25d78388e2822aa396ac86.zip
Fixes for compiling on MSYS
* fixed SDL_main() and putenv() issues * disabled desktop subdir for MSYS * disabled building CBot_console for now
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index 3653357..0be2bd5 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -7,6 +7,8 @@ convert_model.cpp
include_directories(. ..)
+include_directories(SYSTEM ${SDL_INCLUDE_DIR})
+
add_definitions(-DMODELFILE_NO_ENGINE)
add_executable(convert_model ${CONVERT_MODEL_SOURCES})