1
0
forked from pool/libzrtpcpp
libzrtpcpp/libzrtpcpp-libdir.patch

17 lines
521 B
Diff

--- libzrtpcpp-2.0.0/CMakeLists.txt.orig 2012-04-05 15:26:17.231590000 +0200
+++ libzrtpcpp-2.0.0/CMakeLists.txt 2012-04-05 15:26:37.471769000 +0200
@@ -50,12 +50,7 @@
args_help()
# this caused problems in debian where it has to always be lib....
-set(LIBDIRNAME "lib")
-if (NOT EXISTS /etc/debian_version)
- if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" )
- set(LIBDIRNAME "lib64")
- endif()
-endif()
+set(LIBDIRNAME "lib${LIB_SUFFIX}")
# setup the Thread include and lib
find_package(Threads)