summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-30 07:43:25 +0200
committerarchshift <admin@archshift.com>2014-07-30 07:43:25 +0200
commit1d684697186de4340c6a1cc5aea6a14ffd19c002 (patch)
tree596700a979836e504481d4e0a347e4bd5dd4c73c /src/CMakeLists.txt
parentMerge pull request #1262 from mc-server/CanBeTerraformed (diff)
downloadcuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.tar
cuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.tar.gz
cuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.tar.bz2
cuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.tar.lz
cuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.tar.xz
cuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.tar.zst
cuberite-1d684697186de4340c6a1cc5aea6a14ffd19c002.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 29337cb2e..87599c60d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -151,10 +151,10 @@ if (NOT MSVC)
get_directory_property(BINDING_DEPENDENCIES DIRECTORY "Bindings" DEFINITION BINDING_DEPENDENCIES)
#clear file
- file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependecies.txt)
- foreach(dependecy ${BINDING_DEPENDECIES})
- #write each dependecy on a seperate line
- file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependecies.txt "${dependecy}\n")
+ file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependencies.txt)
+ foreach(dependency ${BINDING_DEPENDENCIES})
+ #write each dependency on a seperate line
+ file(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/BindingDependencies.txt "${dependency}\n")
endforeach()
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "Bindings.cpp Bindings.h")