Commit ae9f407c authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Use check_symbol_exists instead of check_function_exists

parent 98adc59f
......@@ -65,7 +65,8 @@ if(NOT APPLE)
endif()
set(HAVE_X11 ${X11_FOUND})
check_function_exists (getpwuid HAVE_GETPWUID)
# Check for function GETPWUID
check_symbol_exists(getpwuid "pwd.h" HAVE_GETPWUID)
# See above includes for defaults
add_definitions(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment