Browse Source

cmake: Fix typo in direct's install directive.

Sam Edwards 11 years ago
parent
commit
3ed813f42f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/CMakeLists.txt

+ 1 - 1
direct/CMakeLists.txt

@@ -31,7 +31,7 @@ if(HAVE_PYTHON)
     install(
     install(
       DIRECTORY "src/${dir}"
       DIRECTORY "src/${dir}"
       DESTINATION "${PYTHON_LIB_INSTALL_DIR}/direct"
       DESTINATION "${PYTHON_LIB_INSTALL_DIR}/direct"
-      PATTERN "*.py")
+      FILES_MATCHING PATTERN "*.py")
   endforeach()
   endforeach()
 
 
   # We also need an __init__.py file, which we have to generate:
   # We also need an __init__.py file, which we have to generate: