Skip to content

Commit

Permalink
Define BOOST_TEST_NO_MAIN at the top level.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Nov 14, 2023
1 parent 4042b21 commit ae08f74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,7 @@ let package = Package(
.headerSearchPath("include/python/PyImath"),
.headerSearchPath("include/python/PyAlembic"),
.headerSearchPath("include/python/PyOIIO"),
.define("BOOST_TEST_NO_MAIN", to: "1"),
]
),

Expand Down Expand Up @@ -1089,6 +1090,7 @@ let package = Package(
publicHeadersPath: "include",
cxxSettings: [
.headerSearchPath("include/Alembic/AbcMaterial"),
.define("BOOST_TEST_NO_MAIN", to: "1"),
]
),

Expand Down Expand Up @@ -1147,6 +1149,7 @@ let package = Package(
.define("OPENVDB_USE_DELAYED_LOADING", to: "1"),
.define("OPENVDB_USE_BLOSC", to: "1"),
.define("OPENVDB_USE_ZLIB", to: "1"),
.define("BOOST_TEST_NO_MAIN", to: "1"),
]
),

Expand Down

0 comments on commit ae08f74

Please sign in to comment.