hedgewars/CMakeLists.txt
changeset 7534 ccb9c2906160
parent 7528 f8cf277dca36
child 7538 2d6e69b392cb
--- a/hedgewars/CMakeLists.txt	Thu Aug 09 03:00:24 2012 +0400
+++ b/hedgewars/CMakeLists.txt	Thu Aug 09 19:52:21 2012 +0400
@@ -189,10 +189,9 @@
 
 IF (WIN32)
     set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
-    include_directories(${CMAKE_SOURCE_DIR}/misc/winutils/include)
-    link_directories(${CMAKE_SOURCE_DIR}/misc/winutils/lib)
+    include_directories(${FFMPEG_INCLUDE_DIR})
     add_library(avwrapper SHARED avwrapper.c)
-    target_link_libraries(avwrapper avcodec avformat avutil)
+    target_link_libraries(avwrapper ${FFMPEG_LIBRARIES})
 ELSE()
     add_library(avwrapper STATIC avwrapper.c)
 ENDIF()