summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-09-10 01:55:06 -0700
committerJordan Justen <jordan.l.justen@intel.com>2014-09-26 17:17:47 -0700
commit4efb025fcac0b37d04ab759ab15055f27cea94f8 (patch)
tree84d3382522c50aa8a8a5d732abd0c13a95365fd1
parent8cff6c47ae23ea84b6005618d7879c18264c8cbd (diff)
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 <jordan.l.justen@intel.com>
-rw-r--r--cmake/piglit_util.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/piglit_util.cmake b/cmake/piglit_util.cmake
index e2c34549d..45143d2a5 100644
--- a/cmake/piglit_util.cmake
+++ b/cmake/piglit_util.cmake
@@ -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)