Changeset View
Changeset View
Standalone View
Standalone View
devel/rstudio/files/patch-src_cpp_core_CMakeLists.txt
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/cpp/core/CMakeLists.txt.orig 2017-11-16 21:40:37 UTC | |||||
+++ src/cpp/core/CMakeLists.txt | |||||
@@ -143,16 +143,17 @@ if (UNIX) | |||||
} | |||||
" | |||||
HAVE_SCANDIR_POSIX) | |||||
- | |||||
# platform introspection | |||||
check_symbol_exists(SA_NOCLDWAIT "signal.h" HAVE_SA_NOCLDWAIT) | |||||
check_symbol_exists(SO_PEERCRED "sys/socket.h" HAVE_SO_PEERCRED) | |||||
+ set(CMAKE_REQUIRED_LIBRARIES ${FREEBSD_LIBDIR}/libinotify.so) | |||||
check_function_exists(inotify_init1 HAVE_INOTIFY_INIT1) | |||||
+ set(CMAKE_REQUIRED_LIBRARIES "") | |||||
check_function_exists(getpeereid HAVE_GETPEEREID) | |||||
check_function_exists(setresuid HAVE_SETRESUID) | |||||
- if(EXISTS "/proc/self") | |||||
+ #if(EXISTS "/proc/self") | |||||
set(HAVE_PROCSELF TRUE) | |||||
- endif() | |||||
+ #endif() | |||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in | |||||
${CMAKE_CURRENT_BINARY_DIR}/config.h) | |||||