30 Apr
2011
30 Apr
'11
18:50
On 04/30/2011 03:40 PM, Cristian Morales Vega wrote: > I'm not a cmake expert, but a "cmake target dependencies" in Google > probably will give you all the info you need. > > cmake --help-command add_dependencies seems to be the solution. Thanks once again, after finding the right place to put it : ADD_LIBRARY(${name}_shared SHARED ${libGeneratedSaxParser_src_files}) - SET_TARGET_PROPERTIES(${name}_shared PROPERTIES OUTPUT_NAME ${name}) + SET_TARGET_PROPERTIES(${name}_shared PROPERTIES OUTPUT_NAME ${name} SOVERSION ${soversion}.${soage}.${sorevision}) TARGET_LINK_LIBRARIES(${name}_shared ${libGeneratedSaxParser_libs}) SET(CMAKE_REQUIRED_LIBRARIES "${name}_shared;${CMAKE_REQUIRED_LIBRARIES}" PARENT_SCOPE) + add_dependencies(${name}_shared;${CMAKE_REQUIRED_LIBRARIES}) Still got the so version to fix but multiple jobs build is fixed. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org