Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

scripts: if 64-bit, find_library() should search the lib64 #189

Merged
merged 2 commits into from
Nov 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bin/dsn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ endmacro(ms_setup_boost)
function(dsn_setup_system_libs)
find_package(Threads REQUIRED)

if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS ON)
message(STATUS "FIND_LIBRARY_USE_LIB64_PATHS = ON")
endif()

set(DSN_SYSTEM_LIBS "")

find_library(DSN_LIB_RT NAMES rt)
Expand Down