File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,10 @@ target_include_directories(
1010 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
1111 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} >
1212)
13- # These next two commands perhaps can be removed if they're only for library objects (not header-only)?
14- # set up version and soversion for the main library object
15- set_target_properties (
16- unmoving PROPERTIES
17- VERSION ${UNMOVING_VERSION_STRING}
18- SOVERSION ${PROJECT_VERSION_MAJOR}
19- INTERFACE_unmoving_MAJOR_VERSION ${PROJECT_VERSION_MAJOR}
20- INTERFACE_unmoving_MINOR_VERSION ${PROJECT_VERSION_MINOR}
21- )
13+ # not 100% sure if this is still needed, but it appears in the package-config output so best to keep
2214set_property (
2315 TARGET unmoving
24- APPEND PROPERTY COMPATIBLE_INTERFACE_STRING "${Unmoving_MAJOR_VERSION } .${Unmoving_MINOR_VERSION } "
16+ APPEND PROPERTY COMPATIBLE_INTERFACE_STRING "${PROJECT_VERSION_MAJOR } .${PROJECT_VERSION_MINOR } "
2517)
2618
2719# install if we're not being built as a sub-project
You can’t perform that action at this time.
0 commit comments