Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"MORPH_BUILD_BANK_EXAMPLE": "ON",
"MORPH_BUILD_BANK_GUI": "ON",
"MORPH_BUILD_HMAC_EXAMPLES": "ON",
"MORPH_BUILD_HMAC_EXAMPLE_LIBSODIUM": "OFF",
"MORPH_BUILD_FORMS_QML": "ON",
"MORPH_BUILD_QT": "ON",
"MORPH_BUILD_LADDER": "ON",
Expand Down
15 changes: 15 additions & 0 deletions examples/bank/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,22 @@ FetchContent_Declare(Lightweight
GIT_TAG v0.20260625.0
GIT_SHALLOW TRUE
)
# Lightweight's own install() rules unconditionally reference
# $<TARGET_PDB_FILE:Lightweight> on WIN32 (its CMakeLists.txt), which CMake
# only allows for linker-created artifacts (DLL/EXE) -- invalid whenever
# Lightweight resolves to a static build (LIGHTWEIGHT_BUILD_SHARED=OFF,
# forced by examples/common/CMakeLists.txt when it fetches Lightweight
# first in the same configure), and it fails at generate time even though
# nothing in this tree ever runs `cmake --install`. Skipping install-rule
# generation for just this FetchContent_MakeAvailable call sidesteps the
# bad generator expression without touching Lightweight's vendored
# CMakeLists.txt -- same fix as examples/common/CMakeLists.txt's own
# Lightweight fetch.
set(_morph_saved_skip_install_rules ${CMAKE_SKIP_INSTALL_RULES})
set(CMAKE_SKIP_INSTALL_RULES ON)
FetchContent_MakeAvailable(Lightweight)
set(CMAKE_SKIP_INSTALL_RULES ${_morph_saved_skip_install_rules})
unset(_morph_saved_skip_install_rules)

# ── Bank domain library ──────────────────────────────────────────────────────
add_library(bank_lib STATIC
Expand Down
4 changes: 3 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"glaze",
"catch2",
"yaml-cpp",
"libzip"
"libzip",
"openssl",
"sqlite3"
],
"builtin-baseline": "c3867e714dd3a51c272826eea77267876517ed99"
}
Loading