You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bb...@apache.org on 2019/06/06 21:42:27 UTC

[geode-native] branch develop updated: Fix lib path for benchmark library - new version changed output location - was breaking RHEL builds

This is an automated email from the ASF dual-hosted git repository.

bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new f55c8cd  Fix lib path for benchmark library - new version changed output location - was breaking RHEL builds
f55c8cd is described below

commit f55c8cd65699e02ef99d42212f096a9f7d67e574
Author: Blake Bender <bb...@pivotal.io>
AuthorDate: Thu Jun 6 14:40:22 2019 -0700

    Fix lib path for benchmark library
    - new version changed output location
    - was breaking RHEL builds
    
    Co-authored-by: Jacob Barrett <jb...@pivotal.io>
---
 dependencies/benchmark/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dependencies/benchmark/CMakeLists.txt b/dependencies/benchmark/CMakeLists.txt
index 829becf..63ec1d7 100644
--- a/dependencies/benchmark/CMakeLists.txt
+++ b/dependencies/benchmark/CMakeLists.txt
@@ -63,7 +63,7 @@ target_include_directories(benchmark_benchmark SYSTEM INTERFACE
   $<BUILD_INTERFACE:${INSTALL_DIR}/include>
 )
 target_link_libraries(benchmark_benchmark INTERFACE
-  ${INSTALL_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}benchmark${CMAKE_STATIC_LIBRARY_SUFFIX}
+  ${INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}benchmark${CMAKE_STATIC_LIBRARY_SUFFIX}
   Threads::Threads
 )
 if (WIN32)