diff --git a/CMakeLists.txt b/CMakeLists.txt index da938ef..074ae56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,9 @@ project(LangBuilder) add_compile_options(-Wall -Wextra -Werror) # We like new stuff, so set the c++ standard to c++20. set(CMAKE_CXX_STANDARD 20) +set(BUILD_SHARED_LIBS OFF) file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp") add_executable(LangBuilder ${SRC_FILES}) -target_link_libraries(LangBuilder -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread) \ No newline at end of file +target_link_libraries(LangBuilder -static -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread) \ No newline at end of file