Revert "CMake: remove ".svn" checks"
authorCampbell Barton <ideasman42@gmail.com>
Thu, 11 Feb 2016 08:09:12 +0000 (19:09 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 11 Feb 2016 08:14:59 +0000 (19:14 +1100)
This reverts commit 00fbc326e31b67c41a023ef9a23bc44ed965268d.

Still needed for svn <1.8

source/creator/CMakeLists.txt

index 05c07f0ecec62413d712cf3caee1ce2d43ad4f40..4a2e7496efed21cc6d392ee7eafdbfb9d27c377f 100644 (file)
@@ -555,6 +555,7 @@ if(UNIX AND NOT APPLE)
                                install(
                                        DIRECTORY ${PYTHON_NUMPY_PATH}/numpy
                                        DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix}
+                                       PATTERN ".svn" EXCLUDE
                                        PATTERN "__pycache__" EXCLUDE           # * any cache *
                                        PATTERN "*.pyc" EXCLUDE                 # * any cache *
                                        PATTERN "*.pyo" EXCLUDE                 # * any cache *
@@ -579,6 +580,7 @@ if(UNIX AND NOT APPLE)
                                install(
                                        DIRECTORY ${PYTHON_REQUESTS_PATH}/requests
                                        DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix}
+                                       PATTERN ".svn" EXCLUDE
                                        PATTERN "__pycache__" EXCLUDE           # * any cache *
                                        PATTERN "*.pyc" EXCLUDE                 # * any cache *
                                        PATTERN "*.pyo" EXCLUDE                 # * any cache *
@@ -591,6 +593,7 @@ if(UNIX AND NOT APPLE)
                                                install(
                                                        DIRECTORY ${PYTHON_REQUESTS_PATH}/${_requests_dep}
                                                        DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix}
+                                                       PATTERN ".svn" EXCLUDE
                                                        PATTERN "__pycache__" EXCLUDE           # * any cache *
                                                        PATTERN "*.pyc" EXCLUDE                 # * any cache *
                                                        PATTERN "*.pyo" EXCLUDE                 # * any cache *
@@ -672,6 +675,7 @@ elseif(WIN32)
                        install(
                                DIRECTORY ${LIBDIR}/release/site-packages
                                DESTINATION ${BLENDER_VERSION}/python/lib
+                               PATTERN ".svn" EXCLUDE
                                PATTERN "__pycache__" EXCLUDE           # * any cache *
                                PATTERN "*.pyc" EXCLUDE                 # * any cache *
                                PATTERN "*.pyo" EXCLUDE                 # * any cache *)
@@ -878,6 +882,7 @@ elseif(APPLE)
                        DIRECTORY ${from}
                        DESTINATION ${to}
                        PATTERN ".git" EXCLUDE
+                       PATTERN ".svn" EXCLUDE
                        PATTERN "*.pyc" EXCLUDE
                        PATTERN "*.pyo" EXCLUDE
                        PATTERN "*.orig" EXCLUDE