Install test_physfs.pl with the rest of the project.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 02 Feb 2010 23:55:12 -0500
changeset 1044 c06cad5295c3
parent 1042 dc9291957a5a
child 1045 93b8ed5502a5
Install test_physfs.pl with the rest of the project. (Although I might yank this stuff...it probably doesn't need to go on the end-user's system.)
CMakeLists.txt
--- 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)