diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index d2b990b16..000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "razer-drivers-win32"] - path = razer-drivers-win32 - url = https://github.com/rsandoz/razer-drivers-win32 diff --git a/OpenRGB.pro b/OpenRGB.pro index 4ee9e60aa..15efc9b1e 100644 --- a/OpenRGB.pro +++ b/OpenRGB.pro @@ -1110,10 +1110,14 @@ unix:!macx { LIBS += \ -lusb-1.0 \ - -lstdc++fs \ -lmbedx509 \ - -lmbedcrypto \ -lmbedtls \ + -lmbedcrypto \ + + COMPILER_VERSION = $$system($$QMAKE_CXX " -dumpversion") + if (!versionAtLeast(COMPILER_VERSION, "9")) { + LIBS += -lstdc++fs + } #-------------------------------------------------------------------------------------------# # Determine which hidapi to use based on availability #