aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/nc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt
index 7bbdb02..d5f7813 100644
--- a/apps/nc/CMakeLists.txt
+++ b/apps/nc/CMakeLists.txt
@@ -22,7 +22,7 @@ else()
22 set(NC_SRC ${NC_SRC} compat/accept4.c) 22 set(NC_SRC ${NC_SRC} compat/accept4.c)
23endif() 23endif()
24 24
25check_function_exists(readpassphrase HAVE_READPASSPHRASE) 25check_symbol_exists(readpassphrase "readpassphrase.h" HAVE_READPASSPHRASE)
26if(HAVE_READPASSPHRASE) 26if(HAVE_READPASSPHRASE)
27 add_definitions(-DHAVE_READPASSPHRASE) 27 add_definitions(-DHAVE_READPASSPHRASE)
28else() 28else()