Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
635f0937
Commit
635f0937
authored
Apr 23, 2019
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: redundant output in CMakeLists.txt
Solution: remove redundant debug output
parent
ea109fca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
CMakeLists.txt
CMakeLists.txt
+1
-13
No files found.
CMakeLists.txt
View file @
635f0937
...
...
@@ -350,11 +350,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND CMAKE_SYSTEM_VERSION STREQUAL "
endif
()
if
(
NOT MSVC
)
check_include_files
(
ifaddrs.h ZMQ_HAVE_IFADDRS
)
message
(
"ZMQ_HAVE_IFADDRS:
${
ZMQ_HAVE_IFADDRS
}
"
)
check_include_files
(
sys/uio.h ZMQ_HAVE_UIO
)
message
(
"ZMQ_HAVE_UIO:
${
ZMQ_HAVE_UIO
}
"
)
check_include_files
(
sys/eventfd.h ZMQ_HAVE_EVENTFD
)
message
(
"ZMQ_HAVE_EVENTFD:
${
ZMQ_HAVE_EVENTFD
}
"
)
if
(
ZMQ_HAVE_EVENTFD AND NOT CMAKE_CROSSCOMPILING
)
zmq_check_efd_cloexec
()
endif
()
...
...
@@ -376,9 +373,7 @@ if(ZMQ_HAVE_WINDOWS)
check_library_exists
(
ws2 fopen
""
HAVE_WS2
)
else
()
check_cxx_symbol_exists
(
SO_PEERCRED sys/socket.h ZMQ_HAVE_SO_PEERCRED
)
message
(
"ZMQ_HAVE_SO_PEERCRED:
${
ZMQ_HAVE_SO_PEERCRED
}
"
)
check_cxx_symbol_exists
(
LOCAL_PEERCRED sys/socket.h ZMQ_HAVE_LOCAL_PEERCRED
)
message
(
"ZMQ_HAVE_LOCAL_PEERCRED:
${
ZMQ_HAVE_LOCAL_PEERCRED
}
"
)
endif
()
find_library
(
RT_LIBRARY rt
)
...
...
@@ -406,33 +401,26 @@ if(NOT MSVC)
set
(
CMAKE_REQUIRED_LIBRARIES rt
)
check_function_exists
(
clock_gettime HAVE_CLOCK_GETTIME
)
set
(
CMAKE_REQUIRED_LIBRARIES
)
message
(
"HAVE_CLOCK_GETTIME:
${
HAVE_CLOCK_GETTIME
}
"
)
set
(
CMAKE_REQUIRED_INCLUDES unistd.h
)
check_function_exists
(
fork HAVE_FORK
)
set
(
CMAKE_REQUIRED_INCLUDES
)
message
(
"HAVE_FORK:
${
HAVE_FORK
}
"
)
set
(
CMAKE_REQUIRED_INCLUDES sys/time.h
)
check_function_exists
(
gethrtime HAVE_GETHRTIME
)
set
(
CMAKE_REQUIRED_INCLUDES
)
message
(
"HAVE_GETHRTIME:
${
HAVE_GETHRTIME
}
"
)
set
(
CMAKE_REQUIRED_INCLUDES stdlib.h
)
check_function_exists
(
mkdtemp HAVE_MKDTEMP
)
set
(
CMAKE_REQUIRED_INCLUDES
)
message
(
"HAVE_MKDTEMP:
${
HAVE_MKDTEMP
}
"
)
set
(
CMAKE_REQUIRED_INCLUDES sys/socket.h
)
check_function_exists
(
accept4 HAVE_ACCEPT4
)
set
(
CMAKE_REQUIRED_INCLUDES
)
message
(
"HAVE_ACCEPT4:
${
HAVE_ACCEPT4
}
"
)
set
(
CMAKE_REQUIRED_INCLUDES string.h
)
check_function_exists
(
strnlen HAVE_STRNLEN
)
set
(
CMAKE_REQUIRED_INCLUDES
)
message
(
"HAVE_STRNLEN:
${
HAVE_STRNLEN
}
"
)
endif
()
add_definitions
(
-D_REENTRANT -D_THREAD_SAFE
)
...
...
@@ -542,7 +530,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD" OR CM
} \
"
HAVE_ATOMIC_H
)
message
(
"HAVE_ATOMIC_H:
${
HAVE_ATOMIC_H
}
"
)
if
(
NOT HAVE_ATOMIC_H
)
set
(
ZMQ_FORCE_MUTEXES 1
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment