File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,16 @@ if(OTIO_CXX_INSTALL)
154154 else ()
155155 message (STATUS " Not installing header dependencies for C++ (OTIO_DEPENDENCIES_INSTALL=OFF)" )
156156 endif ()
157+ configure_file (
158+ ${PROJECT_SOURCE_DIR} /src/OpenTimelineIO-Version .h.in
159+ ${CMAKE_CURRENT_BINARY_DIR} /OpenTimelineIO-Version .h
160+ )
161+ install (
162+ FILES
163+ ${CMAKE_CURRENT_BINARY_DIR} /OpenTimelineIO-Version .h
164+ DESTINATION
165+ ${OTIO_RESOLVED_CXX_INSTALL_DIR} /include
166+ )
157167else ()
158168 message (STATUS "Install C++ bindings: OFF" )
159169endif ()
Original file line number Diff line number Diff line change 1+ #define OTIO_VERSION_MAJOR @OpenTimelineIO_VERSION_MAJOR@
2+ #define OTIO_VERSION_MINOR @OpenTimelineIO_VERSION_MINOR@
3+ #define OTIO_VERSION_PATCH @OpenTimelineIO_VERSION_PATCH@
4+ #define OTIO_VERSION @OpenTimelineIO_VERSION@
You can’t perform that action at this time.
0 commit comments