--- CMakeLists.txt.orig 2021-01-11 20:50:45 UTC +++ CMakeLists.txt @@ -323,7 +323,7 @@ if (NOT IQTREE_FLAGS MATCHES "single") if(CLANG AND APPLE) link_directories(${PROJECT_SOURCE_DIR}/libmac) - elseif (WIN32 OR UNIX) + elseif (WIN32 OR UNIX AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") if (BINARY32) link_directories(${PROJECT_SOURCE_DIR}/lib32) else()