File tree Expand file tree Collapse file tree 4 files changed +4
-11
lines changed
py-opentimelineio/opentimelineio-bindings Expand file tree Collapse file tree 4 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,10 @@ else()
236236 set (USE_DEPS_IMATH ON )
237237endif ()
238238
239+ if (USE_DEPS_IMATH)
240+ include_directories ("${PROJECT_SOURCE_DIR} /src/deps/Imath/src" )
241+ endif ()
242+
239243# set up the internally hosted dependencies
240244add_subdirectory (src/deps)
241245
Original file line number Diff line number Diff line change @@ -82,9 +82,6 @@ target_include_directories(opentimelineio
8282 "${PROJECT_SOURCE_DIR} /src/deps"
8383 "${PROJECT_SOURCE_DIR} /src/deps/rapidjson/include" )
8484
85- if (USE_DEPS_IMATH)
86- target_include_directories (opentimelineio PRIVATE "${PROJECT_SOURCE_DIR} /src/deps/Imath/src" )
87- endif ()
8885
8986target_link_libraries (opentimelineio
9087 PUBLIC opentime Imath::Imath)
Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ target_include_directories(_otio
2525 PRIVATE "${PROJECT_SOURCE_DIR} /src/deps/optional-lite/include"
2626)
2727
28- if (USE_DEPS_IMATH)
29- target_include_directories (_otio PRIVATE "${PROJECT_SOURCE_DIR} /src/deps/Imath/src" )
30- endif ()
31-
3228target_link_libraries (_otio PUBLIC opentimelineio opentime)
3329
3430# The version of pybind11 we are currently using generates an overwhelming number of
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ include_directories(${PROJECT_SOURCE_DIR}/src
33 ${PROJECT_SOURCE_DIR} /src/deps/optional -lite/include
44 ${PROJECT_SOURCE_DIR} /src/tests)
55
6- if (USE_DEPS_IMATH)
7- include_directories (${PROJECT_SOURCE_DIR} /src/deps/Imath/src)
8- endif ()
9-
106list (APPEND tests_opentime test_opentime)
117foreach (test ${tests_opentime} )
128 add_executable (${test} utils.h utils.cpp ${test} .cpp)
You can’t perform that action at this time.
0 commit comments