summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek2011-10-23 22:17:04 +0200
committerPetr Mrázek2011-10-23 22:17:04 +0200
commit96877f102ddfbccacd829e05ca78d3382a317b64 (patch)
tree4e20ade08d5dc06334d19e6c57106b2ef40823c7 /CMakeLists.txt
parentc140ed8d6dbe05854ee1499540814d5f358a960a (diff)
downloadstonesense-96877f102ddfbccacd829e05ca78d3382a317b64.tar.gz
stonesense-96877f102ddfbccacd829e05ca78d3382a317b64.tar.bz2
stonesense-96877f102ddfbccacd829e05ca78d3382a317b64.tar.xz
Remove redundant 'dfhack' folder.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt23
1 files changed, 7 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e796f31..5e474d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,27 +2,18 @@ PROJECT (stonesense)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake/Modules)
# WTF
-if(WIN32)
include_directories (
- ${CMAKE_SOURCE_DIR}/dfhack/include/
- ${CMAKE_SOURCE_DIR}/dfhack/depends/md5/
- ${CMAKE_SOURCE_DIR}/dfhack/depends/tinyxml/
- ${CMAKE_SOURCE_DIR}/dfhack/
+ ${dfhack_SOURCE_DIR}/library/depends/md5/
+ ${dfhack_SOURCE_DIR}/library/depends/tinyxml/
${CMAKE_SOURCE_DIR}
)
-else(WIN32)
-include_directories (
- ${CMAKE_SOURCE_DIR}/dfhack/depends/md5/
- ${CMAKE_SOURCE_DIR}/dfhack/depends/tinyxml/
- ${CMAKE_SOURCE_DIR}
-)
-endif(WIN32)
+
SET(PROJECT_SRCS
- dfhack/depends/tinyxml/tinystr.cpp
- dfhack/depends/tinyxml/tinyxml.cpp
- dfhack/depends/tinyxml/tinyxmlerror.cpp
- dfhack/depends/tinyxml/tinyxmlparser.cpp
+ ${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinystr.cpp
+ ${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinyxml.cpp
+ ${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinyxmlerror.cpp
+ ${dfhack_SOURCE_DIR}/library/depends/tinyxml/tinyxmlparser.cpp
Block.cpp
BlockCondition.cpp