diff --git a/CMakeLists.txt b/CMakeLists.txt index 91085269e..a7d5a1fa9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -317,12 +317,18 @@ endif() find_package(ZLIB) find_package(Crypto) find_package(Curl) +if(VIDEORECORDER) + find_package(FFMPEG) +endif() find_package(Freetype) if(DOWNLOAD_GTEST) find_package(Git) endif() find_package(GLEW) find_package(GTest) +if(UPNP) + find_package(Miniupnpc) +endif() if(MYSQL) find_package(MySQL) else() @@ -331,16 +337,10 @@ endif() find_package(Ogg) find_package(Opus) find_package(Opusfile) -if(UPNP) - find_package(Miniupnpc) -endif() find_package(Pnglite) find_package(PythonInterp 3) find_package(SDL2) find_package(SQLite3) -if(VIDEORECORDER) - find_package(FFMPEG) -endif() find_package(Threads) find_package(Wavpack) if(WEBSOCKETS) @@ -396,6 +396,9 @@ show_dependency_status("Curl" CURL) if(TARGET_OS AND TARGET_OS STREQUAL "mac") show_dependency_status("Dmg tools" DMGTOOLS) endif() +if(VIDEORECORDER) + show_dependency_status("FFmpeg" FFMPEG) +endif() show_dependency_status("Freetype" FREETYPE) if(DOWNLOAD_GTEST) show_dependency_status("Git" GIT) @@ -405,6 +408,9 @@ show_dependency_status("GTest" GTEST) if(TARGET_OS AND TARGET_OS STREQUAL "mac") show_dependency_status("Hdiutil" HDIUTIL) endif() +if(UPNP) + show_dependency_status("Miniupnpc" MINIUPNPC) +endif() if(MYSQL) show_dependency_status("MySQL" MYSQL) endif() @@ -412,16 +418,10 @@ show_dependency_status("Ogg" OGG) show_dependency_status("OpenSSL Crypto" CRYPTO) show_dependency_status("Opus" OPUS) show_dependency_status("Opusfile" OPUSFILE) -if(UPNP) - show_dependency_status("Miniupnpc" MINIUPNPC) -endif() show_dependency_status("Pnglite" PNGLITE) show_dependency_status("PythonInterp" PYTHONINTERP) show_dependency_status("SDL2" SDL2) show_dependency_status("SQLite3" SQLite3) -if(VIDEORECORDER) - show_dependency_status("FFmpeg" FFMPEG) -endif() show_dependency_status("Wavpack" WAVPACK) show_dependency_status("Zlib" ZLIB) if(WEBSOCKETS)