Skip to content

Commit 24b0964

Browse files
committed
Exclude the bson lib from REALM_BUILD_LIB_ONLY builds
1 parent c2aa886 commit 24b0964

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
add_subdirectory(realm)
22
add_subdirectory(external/IntelRDFPMathLib20U2)
3-
add_subdirectory(external/bson EXCLUDE_FROM_ALL)
3+
if (NOT REALM_BUILD_LIB_ONLY)
4+
add_subdirectory(external/bson EXCLUDE_FROM_ALL)
5+
endif()
46

57
if (REALM_ENABLE_GEOSPATIAL)
68
add_subdirectory(external/s2)

0 commit comments

Comments
 (0)