From 68dd00ed4a6681953bdd2f793a15125b08c646d7 Mon Sep 17 00:00:00 2001 From: Samsonium Date: Thu, 1 Oct 2026 13:07:38 +0300 Subject: [PATCH] fix: resolve problems in oatpp installation script and in CMakeLists --- CMakeLists.txt | 6 +++++- utils/install-oatpp.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b50c0b0..7a39d8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,11 @@ file(GLOB_RECURSE sources add_executable(magic_scrolls ${sources}) target_include_directories(magic_scrolls PUBLIC "${CMAKE_SOURCE_DIR}/include") -target_link_libraries(magic_scrolls PRIVATE SQLite::SQLite3) +target_link_libraries(magic_scrolls PRIVATE + SQLite::SQLite3 + oatpp::oatpp + oatpp::oatpp-swagger +) # ------- enable_testing() diff --git a/utils/install-oatpp.sh b/utils/install-oatpp.sh index 5331e63..9acb875 100755 --- a/utils/install-oatpp.sh +++ b/utils/install-oatpp.sh @@ -17,7 +17,7 @@ MODULE_NAME=$2 NPROC=$(nproc) if [ -z "$NPROC" ]; then - NPROC = 1 + NPROC=1 fi echo "-> [ ] Installing '$MODULE_NAME' ($BUILD_TYPE)..."