diff --git a/CMakeLists.txt b/CMakeLists.txt index f0da9625..9831cee6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ endif() if(CMAKE_SYSTEM_NAME STREQUAL Darwin AND NOT CMAKE_CROSSCOMPILING) set(CMAKE_AR "/usr/bin/ar") set(CMAKE_C_ARCHIVE_CREATE " crs ") + set(CMAKE_RANLIB "/usr/bin/ranlib") endif() if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)