diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-18 12:45:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-18 12:45:45 +0400 |
commit | 82216030e97561ddd5d5184be8077423d6cc6c2b (patch) | |
tree | 74891058d9dea3e8d44571bea7ed1802fdb0b1dd /build_files | |
parent | f7e22c729e8fa20a0c9b6d9f1d2bba0505c09585 (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.cmake | 2 |
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}) |