CMakeLists.txt
changeset 1044 c06cad5295c3
parent 1042 dc9291957a5a
child 1047 18ae36a7f55b
--- a/CMakeLists.txt	Tue Feb 02 23:33:57 2010 -0500
+++ b/CMakeLists.txt	Tue Feb 02 23:55:12 2010 -0500
@@ -484,6 +484,12 @@
 
     CONFIGURE_SWIG_BINDING(Perl "${PERL_INSTALL_PATH}" "${SWIG_OUTPUT_DIR}/perl/physfs.pm" "\"-I${PERL_INCLUDE_PATH}/CORE\" ${PERL_CCFLAGS} -w" "\"-L${PERL_INCLUDE_PATH}/CORE\" ${PERL_LIBPERL} ${PERL_LDFLAGS}")
     INSTALL(FILES "${SWIG_OUTPUT_DIR}/perl/physfs.pm" DESTINATION "${PERL_INSTALL_PATH}")
+    INSTALL(
+        FILES test/test_physfs.pl
+        DESTINATION bin
+        PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
+                    GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+    )
 ENDIF(PHYSFS_BUILD_PERL)
 
 IF(PHYSFS_BUILD_RUBY)