Skip to content

Commit

Permalink
Add soversion to IlmImfCtl too (#153)
Browse files Browse the repository at this point in the history
* Add soversion to IlmImfCtl and ctldpx
---------
Co-authored-by: michaeldsmith <[email protected]>
Co-authored-by: Michael Smith <[email protected]>
  • Loading branch information
paolostivanin authored Jun 6, 2024
1 parent 96465cd commit bc50ecd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/IlmImfCtl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ target_link_libraries (IlmImfCtl
$<$<TARGET_EXISTS:IlmBase::Iex>:IlmBase::Iex>
)

set_target_properties(IlmImfCtl
PROPERTIES
VERSION ${CTL_VERSION}
SOVERSION ${CTL_VERSION}
)

install(FILES
ImfCtlApplyTransforms.h
DESTINATION
Expand Down
8 changes: 7 additions & 1 deletion lib/dpx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ target_link_libraries(ctldpx
# $<$<TARGET_EXISTS:IlmBase::Half>:IlmBase::Half>
# $<$<TARGET_EXISTS:IlmBase::IlmThread>:IlmBase::IlmThread>
# $<$<TARGET_EXISTS:IlmBase::Iex>:IlmBase::Iex>
# )
# )

set_target_properties(IlmCtlSimd
PROPERTIES
VERSION ${CTL_VERSION}
SOVERSION ${CTL_VERSION}
)

0 comments on commit bc50ecd

Please sign in to comment.