Fix install of example files to keep permissions.
authorhobbes1069 <hobbes1069@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 27 Jul 2014 12:27:24 +0000 (12:27 +0000)
committerhobbes1069 <hobbes1069@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 27 Jul 2014 12:27:24 +0000 (12:27 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1771 01035d8c-6547-0410-b346-abe4f91aad63

codec2/CMakeLists.txt

index b2e57815fd09d7ec06de39d4766e3b79a7166815..396239b321fe1ab1c21c89fcb187bebc8e437259 100644 (file)
@@ -88,6 +88,7 @@ option(UNITTEST "Build unittest binaries." OFF)
 option(INSTALL_EXAMPLES "Install example code." OFF)
 if(INSTALL_EXAMPLES)
     install(DIRECTORY octave raw script voicing wav
+        USE_SOURCE_PERMISSIONS
         DESTINATION share/codec2)
 endif()