From b42ba94e91e5a6d534ec1816832ffdeefaaaea44 Mon Sep 17 00:00:00 2001 From: Jame Clarke Date: Tue, 6 Feb 2024 19:49:45 -0500 Subject: [PATCH] Github Actions Fail #45 - Potential Fix --- Package.swift | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Package.swift b/Package.swift index bb7f01b..6d801f7 100644 --- a/Package.swift +++ b/Package.swift @@ -52,21 +52,25 @@ let package = Package( .target(name: "OpenTime_CXX", dependencies: ["otio_header_root"], path: "OpenTimelineIO/src/opentime", - exclude: [ "CMakeLists.txt", "OpentimeConfig.cmake.in"], + exclude: ["CMakeLists.txt", "OpenTimeConfig.cmake.in"], sources: ["."], publicHeadersPath: ".", - cxxSettings: [ .headerSearchPath(".")]), + cxxSettings: [ + .headerSearchPath("."), + .headerSearchPath("../OpenTimelineIO/src/opentime")]), + .target(name: "OpenTimelineIO_CXX", dependencies: ["OpenTime_CXX", "any", "optionallite"], path: "OpenTimelineIO/src/opentimelineio", - exclude: [ "CMakeLists.txt", "CORE_VERSION_MAP.last.cpp", "OpentimelineIOConfig.cmake.in"], + exclude: [ "CMakeLists.txt", "CORE_VERSION_MAP.last.cpp", "OpenTimelineIOConfig.cmake.in"], sources: ["."], publicHeadersPath: ".", cxxSettings: [ .headerSearchPath("."), .headerSearchPath("../deps/Imath/src/Imath"), .headerSearchPath("../../../Sources/cpp"), + .headerSearchPath("../OpenTimelineIO/src/opentime"), .headerSearchPath("../deps/rapidjson/include")]), .target(name: "OpenTimelineIO_objc",