Skip to content

Commit

Permalink
Exclude the bson lib from REALM_BUILD_LIB_ONLY builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Jun 12, 2024
1 parent c2aa886 commit 24b0964
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
add_subdirectory(realm)
add_subdirectory(external/IntelRDFPMathLib20U2)
add_subdirectory(external/bson EXCLUDE_FROM_ALL)
if (NOT REALM_BUILD_LIB_ONLY)
add_subdirectory(external/bson EXCLUDE_FROM_ALL)
endif()

if (REALM_ENABLE_GEOSPATIAL)
add_subdirectory(external/s2)
Expand Down

0 comments on commit 24b0964

Please sign in to comment.