File tree Expand file tree Collapse file tree 6 files changed +17
-12
lines changed Expand file tree Collapse file tree 6 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.12)
2- project (CTL VERSION 1.5.3)
2+
3+ set (CTL_VERSION_MAJOR 1)
4+ set (CTL_VERSION_MINOR 5)
5+ set (CTL_VERSION_PATCH 3)
6+ set (CTL_VERSION "${CTL_VERSION_MAJOR} .${CTL_VERSION_MINOR} .${CTL_VERSION_PATCH} " )
7+ project (CTL VERSION ${CTL_VERSION} )
38include (GNUInstallDirs)
49
510set (CMAKE_CXX_STANDARD 11)
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ target_link_libraries (IlmCtl
4242
4343set_target_properties (IlmCtl
4444 PROPERTIES
45- VERSION ${CTL_VERSION}
46- SOVERSION ${CTL_VERSION}
45+ VERSION " ${CTL_VERSION} "
46+ SOVERSION " ${CTL_VERSION_MAJOR} . ${CTL_VERSION_MINOR} "
4747)
4848
4949install ( FILES
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ target_link_libraries (IlmCtlMath
2929
3030set_target_properties (IlmCtlMath
3131 PROPERTIES
32- VERSION ${CTL_VERSION}
33- SOVERSION ${CTL_VERSION}
32+ VERSION " ${CTL_VERSION} "
33+ SOVERSION " ${CTL_VERSION_MAJOR} . ${CTL_VERSION_MINOR} "
3434)
3535
3636install (FILES
Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ target_link_libraries(IlmCtlSimd
8888
8989set_target_properties (IlmCtlSimd
9090 PROPERTIES
91- VERSION ${CTL_VERSION}
92- SOVERSION ${CTL_VERSION}
91+ VERSION " ${CTL_VERSION} "
92+ SOVERSION " ${CTL_VERSION_MAJOR} . ${CTL_VERSION_MINOR} "
9393)
9494
9595install (FILES CtlSimdInterpreter.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /CTL)
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ target_link_libraries (IlmImfCtl
3636 )
3737
3838set_target_properties (IlmImfCtl
39- PROPERTIES
40- VERSION ${CTL_VERSION}
41- SOVERSION ${CTL_VERSION}
39+ PROPERTIES
40+ VERSION " ${CTL_VERSION} "
41+ SOVERSION " ${CTL_VERSION_MAJOR} . ${CTL_VERSION_MINOR} "
4242)
4343
4444install (FILES
Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ target_link_libraries(ctldpx
3737
3838set_target_properties (ctldpx
3939 PROPERTIES
40- VERSION ${CTL_VERSION}
41- SOVERSION ${CTL_VERSION}
40+ VERSION " ${CTL_VERSION} "
41+ SOVERSION " ${CTL_VERSION_MAJOR} . ${CTL_VERSION_MINOR} "
4242)
You can’t perform that action at this time.
0 commit comments