Call find_library for clang too

This commit is contained in:
SChernykh 2021-08-23 11:21:11 +02:00
parent f2ec109c2f
commit 133b8dde19

View file

@ -84,7 +84,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES MSVC)
find_library(ZMQ_LIBRARY NAMES libzmq-v142-mt-s-4_3_5 PATHS "external/lib/libzmq/Release")
find_library(UV_LIBRARY_DEBUG NAMES uv_a PATHS "external/lib/libuv/Debug")
find_library(UV_LIBRARY NAMES uv_a PATHS "external/lib/libuv/Release")
elseif (CMAKE_CXX_COMPILER_ID MATCHES GNU)
elseif (CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES Clang)
find_library(ZMQ_LIBRARY_DEBUG NAMES libzmq libzmq.a)
find_library(ZMQ_LIBRARY NAMES libzmq libzmq.a)
find_library(UV_LIBRARY_DEBUG NAMES libuv libuv.a)