[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
authorCampbell Barton <ideasman42@gmail.com>
Mon, 24 Aug 2009 10:21:53 +0000 (10:21 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 24 Aug 2009 10:21:53 +0000 (10:21 +0000)
Didnt apply the patch updated with sndfile.

source/creator/CMakeLists.txt

index 24b70c5664a4fdc0fe6c52d29ce15040f77a8b47..0d9d0fe885688835c9aa8021b69d3bfcca12663c 100644 (file)
@@ -262,6 +262,14 @@ IF(WITH_INSTALL)
       )
     ENDIF(WITH_FFMPEG)
 
+    IF(WITH_SNDFILE)
+      ADD_CUSTOM_COMMAND(TARGET blender
+        POST_BUILD
+        MAIN_DEPENDENCY blender
+        COMMAND copy /Y \"${WIN_LIBDIR}\\sndfile\\lib\\libsndfile-1.dll\" \"${TARGETDIR}\\\"
+      )
+    ENDIF(WITH_SNDFILE)
+
     IF(WITH_JACK)
       ADD_CUSTOM_COMMAND(TARGET blender
         POST_BUILD