diff --git a/README.md b/README.md index 88ef15c..bacfd61 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Both plugin and sample can be built using CMake and any recent C/C++ compiler (g ### ● FFmpeg plugin To build the plugin, go to the source directory and create a build directory where CMake configuration will be performed. -On Windows, you must defined FFMPEG_ROOT. This variable contains the path to the FFMpeg libraries and header files. +On Windows, you must defined `FFMPEG_ROOT`. This variable contains the path to the FFmpeg libraries and header files. ``` mkdir build @@ -24,6 +24,13 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX= ``` +On Linux, do not forget to specify `CMAKE_BUILD_TYPE` or the install will fail. If FFmpeg was installed using the system package manager, there is no need to specify `FFMPEG_ROOT`. +``` +cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX= +``` + ### ● Test program The sample program requires Harfang C++ SDK, Asset compiler (assetc) and the FFmpeg plugin (or any video stream plugin).