Skip to content

Commit

Permalink
Merge pull request #891 from gofractally/psibase-config-cmake
Browse files Browse the repository at this point in the history
Fix doc-examples build
  • Loading branch information
swatanabe authored Oct 22, 2024
2 parents 091c0df + 5a49b45 commit ae89452
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/psibase/sdk/toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/../../wasi-sysroot)
elseif(EXISTS ${CMAKE_CURRENT_LIST_DIR}/wasm/deps)
# Build directory
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
set(psibase_ROOT ${CMAKE_CURRENT_LIST_DIR})
set(CMAKE_FIND_ROOT_PATH ${CMAKE_CURRENT_LIST_DIR})
# Make sure that the replacement libc can be found
set(CMAKE_EXE_LINKER_FLAGS -L${CMAKE_CURRENT_LIST_DIR}/wasm/libraries/psibase)
Expand Down

0 comments on commit ae89452

Please sign in to comment.