cmake: fix libcrypt test

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2015-02-26 16:34:31 +01:00
parent a75c310e7c
commit 805e8ce891

View file

@ -23,7 +23,7 @@ ENDIF()
FIND_LIBRARY(json NAMES json-c json)
FIND_LIBRARY(crypt NAMES crypt)
IF(crypt STREQUAL "LIBS-NOTFOUND")
IF(crypt STREQUAL "crypt-NOTFOUND")
SET(crypt "")
ENDIF()