Koihik / LuaFormatter

Code formatter for Lua
Apache License 2.0
708 stars 86 forks source link

Fails to build with libc++ #297

Open theoparis opened 2 months ago

theoparis commented 2 months ago

LLVM's libc++ does not need to link against stdc++fs which is a gcc/gnu library.

ld.lld: error: unable to find library -lstdc++fs
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_1b07c.dir/build.make:103: cmTC_1b07c] Error 1
make[1]: Leaving directory '/tmp/luarocks_luaformatter-scm-1-8475181/LuaFormatter/build.luarocks/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_1b07c/fast] Error 2

CMake Error at CMakeLists.txt:61 (message):
  Your compiler does not fully support the C++17 standard and libraries