From 8788a71f342ea3cf9d8479ab4ca4c1df261e2c0b Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Wed, 4 Aug 2021 09:13:33 +0200
Subject: [PATCH] BUILD: Small message for W users...

---
 CMakeLists.txt | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7303c7a0..0ed2011d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,10 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
 find_package(QT NAMES Qt6 Qt5      COMPONENTS Widgets REQUIRED)
 find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
 
+if(WIN32)
+    message("You are building on windows, take attenion to the dependencies")
+endif()
+
 # Find others dependencies
 find_library(AVCODEC_LIBRARY    avcodec     4.0 REQUIRED)
 find_library(AVUTIL_LIBRARY     avutil      4.0 REQUIRED)
@@ -28,7 +32,10 @@ find_library(AVFORMAT_LIBRARY   avformat        REQUIRED)
 find_library(MPV_LIBRARY        mpv             REQUIRED)
 
 # Add the lua dependency
-add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/vendor/lua-5.4.3" "${CMAKE_BINARY_DIR}/vendor/lua-5.4.3")
+add_subdirectory(
+    "${CMAKE_CURRENT_SOURCE_DIR}/vendor/lua-5.4.3"
+    "${CMAKE_BINARY_DIR}/vendor/lua-5.4.3"
+)
 
 # Grab all files
 file(GLOB_RECURSE Vivy_SRC CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cc")
-- 
GitLab