aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-10-01 04:00:46 -0500
committerBrent Cook <busterb@gmail.com>2024-10-01 04:00:46 -0500
commitc169d7e61e39cfdb836e1b0af3618af514defec5 (patch)
tree50fe504816d229da2fbab630ea040625dae69558 /apps
parentc04ca241de17cb5a9f69dfbae7bee2ee49700a40 (diff)
parent1ff9793deee907efcbd4769fe99e133a9608a5f6 (diff)
downloadportable-c169d7e61e39cfdb836e1b0af3618af514defec5.tar.gz
portable-c169d7e61e39cfdb836e1b0af3618af514defec5.tar.bz2
portable-c169d7e61e39cfdb836e1b0af3618af514defec5.zip
Land #1079, Switch to check_symbol_exists() for simple cases
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()