QTfrontend/CMakeLists.txt
changeset 10173 fff5e4b0dfcb
parent 10109 91d126fbd7bd
child 10383 ffebf1c98ee4
--- a/QTfrontend/CMakeLists.txt	Sat Mar 01 15:04:38 2014 -0500
+++ b/QTfrontend/CMakeLists.txt	Sun Mar 02 00:34:18 2014 +0400
@@ -156,6 +156,11 @@
     add_definitions(-DHWLIBRARY=1)
     set(hwlibname "${EXECUTABLE_OUTPUT_PATH}/${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}")
     list(APPEND HW_LINK_LIBS ${hwlibname})
+
+    if(LIBAV_FOUND)
+#        add_subdirectory(avwrapper)
+        list(APPEND HW_LINK_LIBS avwrapper)
+    endif()
 endif()
 
 qt4_add_resources(hwfr_rez_src ${hwfr_rez})
@@ -201,7 +206,7 @@
     ${SDL_LIBRARY}
     ${SDLMIXER_LIBRARY}
     )
-
+    
 if(WIN32 AND NOT UNIX)
     if(NOT SDL_LIBRARY)
         list(APPEND HW_LINK_LIBS SDL)