Skip to content

Commit 5947f95

Browse files
Georges Berengerfacebook-github-bot
authored andcommitted
Fix oss build (#309)
Summary: Fix pyvrs oss build. Differential Revision: D87478397
1 parent 7bea5e7 commit 5947f95

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

cmake/LibrariesSetup.cmake

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ if (EXISTS "$ENV{HOME}/homebrew")
1717
list(APPEND CMAKE_FIND_ROOT_PATH "$ENV{HOME}/homebrew")
1818
endif()
1919

20-
find_package(Boost REQUIRED
21-
COMPONENTS
22-
filesystem
23-
chrono
24-
date_time
25-
system
26-
thread
27-
)
20+
find_package(Boost REQUIRED)
2821
find_package(Eigen REQUIRED)
2922
find_package(FmtLib REQUIRED)
3023
find_package(RapidjsonLib REQUIRED)

csrc/Pybind11.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
#include "VrsBindings.h"
2323
#include "reader/Reader.h"
2424
#include "utils/Utils.h"
25+
#include "writer/Writer.h"
2526

2627
#if IS_VRS_FB_INTERNAL()
2728
#include "archive/Archive.h"
2829
#include "fb/FbInternal.h"
2930
#include "fb/dataset_snapshot/PyDatasetSnapshot.h"
3031
#include "filter/Filter.h" // Disable filter internally until AsyncImageFilter is reworked.
31-
#include "writer/Writer.h"
3232
#endif
3333

3434
#ifndef PYBIND_MODULE_NAME
@@ -59,9 +59,9 @@ PYBIND11_MODULE(PYBIND_MODULE_NAME, m) {
5959
pyvrs::pybind_fbinternal(m);
6060
#endif
6161
pyvrs::pybind_reader(m);
62+
pyvrs::pybind_writer(m);
6263
#if IS_VRS_FB_INTERNAL()
6364
pyvrs::pybind_filter(m); // Disable filter internally until AsyncImageFilter is reworked.
64-
pyvrs::pybind_writer(m);
6565
pyvrs::pybind_archive(m);
6666
pyvrs::pybind_dataset_snapshot(m);
6767
#endif

0 commit comments

Comments
 (0)