Skip to content

Commit

Permalink
Fix installation location for a no-python build
Browse files Browse the repository at this point in the history
  • Loading branch information
meshula committed Feb 9, 2021
1 parent b3b5d3d commit 22945fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ if(OTIO_PYTHON_INSTALL)
else()
set(OTIO_RESOLVED_PYTHON_INSTALL_DIR "${OTIO_PYTHON_INSTALL_DIR}")
set(OTIO_RESOLVED_CXX_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}")
set(OTIO_RESOLVED_CXX_DYLIB_INSTALL_DIR "${OTIO_PYTHON_INSTALL_DIR}/opentimelineio")
message(INFO, "OTIO Python installing to ${OTIO_RESOLVED_PYTHON_INSTALL_DIR}")
set(OTIO_RESOLVED_CXX_DYLIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
message(INFO, "OTIO C++ installing to ${CMAKE_INSTALL_PREFIX}")
endif()

set(CMAKE_INSTALL_INCLUDEDIR "${OTIO_RESOLVED_CXX_INSTALL_DIR}/include")
Expand Down

0 comments on commit 22945fd

Please sign in to comment.