Skip to content

Commit

Permalink
Update documentation for Vcpkg and Boost setup
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] authored and ohhmm committed Sep 28, 2024
1 parent 961e4e4 commit eb7a317
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Compilation:

sudo dnf install -y git-gui cmake-gui clang boost-devel boost-static leveldb-devel libxcb-devel libX11-devel libXScrnSaver-devel ocl-icd-devel

Vcpkg:

cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=path-to/vcpkg/scripts/buildsystems/vcpkg.cmake

Windows VSCode:

![Screenshot](build.png)
Expand Down
10 changes: 2 additions & 8 deletions omnn/rt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

if (OPENMIND_USE_VCPKG)
set(DEPENDENCIES
Boost::headers
Boost::filesystem
Boost::multiprecision
Boost::system
Expand All @@ -11,14 +12,7 @@ if (OPENMIND_USE_VCPKG)
else ()
set(DEPENDENCIES boost)
if(Boost_FOUND)
if(OPENMIND_USE_VCPKG)
set(DEPENDENCIES ${DEPENDENCIES}
Boost::compute
Boost::headers
Boost::filesystem
Boost::multiprecision
)
elseif(NOT MSVC OR OPENMIND_USE_CONAN)
if(NOT MSVC OR OPENMIND_USE_CONAN)
list(APPEND DEPENDENCIES Boost::filesystem)
if(OPENMIND_BUILD_TESTS)
list(APPEND DEPENDENCIES
Expand Down

0 comments on commit eb7a317

Please sign in to comment.