sl1pkn07 commented on a change in pull request #17815: [WIP] Add SOVERSION when
build shared libmxnet.so library
URL: https://github.com/apache/incubator-mxnet/pull/17815#discussion_r394377382
##########
File path: CMakeLists.txt
##########
@@ -704,6 +712,8 @@ if(UNIX)
target_link_libraries(mxnet PRIVATE mxnet_static)
target_link_libraries(mxnet_static PUBLIC ${CMAKE_DL_LIBS})
set_target_properties(mxnet_static PROPERTIES OUTPUT_NAME mxnet)
+ set_target_properties(mxnet PROPERTIES VERSION
"${ver_major}.${ver_minor}.${ver_patch}")
Review comment:
other test, ans this surprise me, i just add
~~~cmake
message(STATUS "Project version: ${PROJECT_VERSION}")
~~~
just before `project()` function, and works

bus is vanished if put that in the bottom/middle of the CMakeLists


cmake is a bit complex for me, IDK where is the problem, so, i think is
better keep untounch with `${ver_major}.${ver_minor}.${ver_patch}` and in near
future (i i found the problem), fix it
greetings
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services