Skip to content

Commit ea0eb6c

Browse files
committed
spirv-tools: Declare conflict_build with gtest
spirv-tools includes its own embedded googletest and fails to build when the system-installed googletest (via MacPorts) is present, due to CMake picking up the external version unintentionally. Closed: https://trac.macports.org/ticket/72710
1 parent 08b5308 commit ea0eb6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graphics/spirv-tools/Portfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PortSystem 1.0
44
PortGroup github 1.0
55
PortGroup cmake 1.1
66
PortGroup legacysupport 1.1
7+
PortGroup conflicts_build 1.0
78

89
github.setup KhronosGroup SPIRV-Tools 1.4.328.1 vulkan-sdk-
910
github.tarball_from archive
@@ -97,3 +98,5 @@ configure.args-append \
9798
-DBUILD_SHARED_LIBS=ON \
9899
-DSPIRV_TOOLS_BUILD_STATIC=OFF \
99100
-DCMAKE_INSTALL_PREFIX=${prefix}
101+
102+
conflicts_build gtest

0 commit comments

Comments
 (0)