diff --git a/CMakeLists.txt b/CMakeLists.txt index 50b4a71c..2c35b996 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ elseif (WITH_LIBSODIUM) include_directories (${SODIUM_INCLUDE_DIRS}) # On Solaris, libsodium depends on libssp - if (${CMAKE_SYSTEM_NAME} matches "SunOS") + if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS") target_link_libraries (libzmq ssp) endif () set (HAVE_LIBSODIUM 1)