summaryrefslogtreecommitdiff
path: root/cmake/Modules/GrTest.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/GrTest.cmake')
-rw-r--r--cmake/Modules/GrTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GrTest.cmake b/cmake/Modules/GrTest.cmake
index d404a71078..7c8522a2a4 100644
--- a/cmake/Modules/GrTest.cmake
+++ b/cmake/Modules/GrTest.cmake
@@ -48,7 +48,7 @@ function(GR_ADD_TEST test_name)
#Only do this for the python directories matching the following:
foreach(pydir ${GR_TEST_PYTHON_DIRS})
get_filename_component(name ${pydir} NAME)
- if(name MATCHES "^(swig|lib|src)$")
+ if(name MATCHES "^(lib|src)$")
list(APPEND GR_TEST_PYTHON_DIRS ${pydir}/${CMAKE_BUILD_TYPE})
endif()
endforeach(pydir)