try static linking / correct path for Application

This commit is contained in:
Thomas Schleicher 2024-10-22 20:08:02 +02:00
parent 93d02a2cb0
commit 75fca0369c
3 changed files with 5 additions and 4 deletions

View file

@ -5,6 +5,8 @@ project(short-link VERSION 1.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(BUILD_SHARED_LIBS OFF)
add_executable(Application src/main.cpp)
find_package(Boost REQUIRED COMPONENTS filesystem system)