Try adding -lstdc++fs

master
Melroy van den Berg 2020-11-21 00:13:12 +01:00
parent 609871ee44
commit f46dfb9b97
2 changed files with 12 additions and 1 deletions

View File

@ -62,6 +62,16 @@ We can also still change the language of the source code (iso markdown). Atleast
For the development environment I'm using VSCodium with `C/C++`, `Cmake` and `Cmake Tools` extensions installed.
## Depedencies
* GCC 9 or higher (GCC 8 should also work)
* CMake
* Qt (`qt5-default` package)
For Release packaing:
* CPack
### GUIs
#### Qt

View File

@ -5,7 +5,8 @@ set (CMAKE_AUTOUIC ON)
set (CMAKE_AUTOMOC ON)
set (CMAKE_AUTORCC ON)
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
# Also add -lstdc++fs for older GCC compilers
set(CMAKE_CXX_FLAGS "-Wall -Wextra -lstdc++fs")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")