summaryrefslogtreecommitdiff
blob: aa8ecc9f6174805dcedcbc49ee0147073a7f32c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
commit 94eed33f878e35a8c7b69b0c23b3b30026460f33
Author: hasufell <hasufell@gentoo.org>
Date:   Fri Jul 19 18:50:08 2013 +0200

    remove stupid uninstall snippet
    
    whoever coded this... it is dangerous
    uninstall methods have NO PLACE in install rules

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index c84d944..2b9bf46 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -268,12 +268,6 @@ endif()
 # Install Targets (Generic, All Platforms)
 
 
-# important to make a clean  install each time, else old scripts get loaded.
-install(
-	CODE
-	"file(REMOVE_RECURSE ${TARGETDIR_VER})"
-)
-
 if(WITH_PYTHON)
 	# install(CODE "message(\"copying blender scripts...\")")