Skip to content

Commit

Permalink
Add FFMPEG to include path for OpenMW
Browse files Browse the repository at this point in the history
I'm a bit confused; `mwsound/ffmpeg_decoder.hpp/cpp` requires FFMPEG headers to compile, how did this work in the first place?
  • Loading branch information
ananace committed Nov 14, 2015
1 parent de98ee0 commit d2a4175
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/openmw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ endif ()

# Sound stuff - here so CMake doesn't stupidly recompile EVERYTHING
# when we change the backend.
include_directories(${SOUND_INPUT_INCLUDES})
include_directories(
${SOUND_INPUT_INCLUDES}
${FFMPEG_INCLUDE_DIRS}
)

target_link_libraries(openmw
${OPENSCENEGRAPH_LIBRARIES}
Expand Down

0 comments on commit d2a4175

Please sign in to comment.