Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-18 12:45:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-18 12:45:45 +0400
commit82216030e97561ddd5d5184be8077423d6cc6c2b (patch)
tree74891058d9dea3e8d44571bea7ed1802fdb0b1dd /build_files
parentf7e22c729e8fa20a0c9b6d9f1d2bba0505c09585 (diff)
py-api: store frequently used strings as unicode PyObject's to avoid creating/distroying every time.
also fix for cmake warning
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 7a8158227a9..9b19ed33162 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -37,7 +37,7 @@ macro(blender_source_group
foreach(_SRC ${sources})
get_filename_component(_SRC_EXT ${_SRC} EXT)
- if(${_SRC_EXT} MATCHES ".h" OR ${_SRC_EXT} MATCHES ".hpp")
+ if((${_SRC_EXT} MATCHES ".h") OR (${_SRC_EXT} MATCHES ".hpp"))
source_group("Header Files" FILES ${_SRC})
else()
source_group("Source Files" FILES ${_SRC})