diff --git a/CMakeLists.txt b/CMakeLists.txt index abfd430e..9f773002 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,7 +63,7 @@ else() endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie -lstdc++fs") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie") endif() if(WIN32) diff --git a/src/voxels/blocks_agent.hpp b/src/voxels/blocks_agent.hpp index 15813bc9..3bee3685 100644 --- a/src/voxels/blocks_agent.hpp +++ b/src/voxels/blocks_agent.hpp @@ -14,6 +14,7 @@ #include "maths/voxmaths.hpp" #include +#include #include #include #include diff --git a/vctest/CMakeLists.txt b/vctest/CMakeLists.txt index 916eef31..6f195fe9 100644 --- a/vctest/CMakeLists.txt +++ b/vctest/CMakeLists.txt @@ -35,7 +35,7 @@ else() endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie -lstdc++fs") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie") endif() target_include_directories(