Commit 4efb025f authored by Jordan Justen's avatar Jordan Justen

libpiglit: Set CMAKE SOVERSION for internal libraries to "0"

When packaging for piglit for debian, I see this type of message:
dpkg-shlibdeps: warning: Can't extract name and version from library name libpiglitutil.so

It it repeated several times for each piglit executable causing a
significant delay in the build time. Setting a soname version for
these internal libraries causes this message to go away.
Signed-off-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
parent 8cff6c47
......@@ -84,5 +84,6 @@ function(piglit_add_library name)
install(TARGETS ${name} DESTINATION ${PIGLIT_INSTALL_LIBDIR}/lib)
endif(WIN32)
add_dependencies(${name} piglit_dispatch_gen)
set_target_properties(${name} PROPERTIES SOVERSION "0")
endfunction(piglit_add_library)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment