TEMP: Always put lib under "lib" when installing

This is a temporary fix until this is properly fixed.
This commit is contained in:
Matias Fontanini
2019-07-01 13:46:57 -07:00
committed by GitHub
parent c733e0b8d8
commit 18d0b0c00b

View File

@@ -41,11 +41,12 @@ option(CPPKAFKA_RDKAFKA_STATIC_LIB "Link with Rdkafka static library." OFF)
math(EXPR BITS "8*${CMAKE_SIZEOF_VOID_P}")
# Properly set the output directory
if (${BITS} EQUAL 64)
set(LIBDIR "lib64")
else()
set(LIBDIR "lib")
endif()
#if (${BITS} EQUAL 64)
# set(LIBDIR "lib64")
#else()
# set(LIBDIR "lib")
#endif()
set(LIBDIR "lib")
# Disable output from find_package macro
if (NOT CPPKAFKA_CMAKE_VERBOSE)