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
f01bab66
Commit
f01bab66
authored
Jan 23, 2013
by
Matt Arsenault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cmake not linking librt to perf-tools
parent
7bc3e53b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
CMakeLists.txt
View file @
f01bab66
...
...
@@ -51,6 +51,8 @@ check_library_exists(ws2 printf "" HAVE_WS2)
check_library_exists
(
rpcrt4 printf
""
HAVE_RPCRT4
)
# UuidCreateSequential
check_library_exists
(
iphlpapi printf
""
HAVE_IPHLAPI
)
# GetAdaptersAddresses
find_library
(
RT_LIBRARY rt
)
find_package
(
Threads
)
...
...
@@ -541,6 +543,10 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug") # Why?
add_executable
(
${
perf-tool
}
perf/
${
perf-tool
}
.cpp
)
target_link_libraries
(
${
perf-tool
}
libzmq
)
if
(
RT_LIBRARY
)
target_link_libraries
(
${
perf-tool
}
${
RT_LIBRARY
}
)
endif
()
if
(
ZMQ_BUILD_FRAMEWORK
)
# Copy perf-tools binaries into Framework
add_custom_command
(
...
...
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