Modify root CMakeLists.txt some more to behave as submodule.

develop
Mikko Juola 2010-08-16 10:45:17 +03:00
parent b87752a954
commit 4d4e895878
1 changed files with 0 additions and 5 deletions

@ -9,11 +9,6 @@ SET ( DFHACK_VERSION "0.4.1.0-dev" )
# the root where this particular CMakeLists.txt file sits. # the root where this particular CMakeLists.txt file sits.
SET(CMAKE_SOURCE_DIR ${PROJECT_SOURCE_DIR}) SET(CMAKE_SOURCE_DIR ${PROJECT_SOURCE_DIR})
# Reset compiler flags.
# (Dfterm2 uses -D_UNICODE but dfhack doesn't compile with it,
# breaking dfhack when used as a submodule)
SET(COMPILE_DEFINITIONS "")
# disable warning, autosearch # disable warning, autosearch
if(COMMAND cmake_policy) if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW) cmake_policy(SET CMP0003 NEW)