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
317499ed
Commit
317499ed
authored
Apr 19, 2016
by
Luca Boccassi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1906 from hitstergtd/hitstergtd-cmake-tests-os-fix
Problem: Linker search path warnings on OS X
parents
136870f2
846b2ba1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
tests/CMakeLists.txt
+4
-1
No files found.
tests/CMakeLists.txt
View file @
317499ed
...
...
@@ -131,7 +131,10 @@ foreach(test ${tests})
# it will only link correctly for DEBUG builds in Windows (I don't know how to specify the target and target library in CMake)
SET_TARGET_PROPERTIES
(
${
test
}
PROPERTIES LINK_FLAGS
"/LIBPATH:../bin/Win32/Debug/v120/dynamic"
)
else
()
link_directories
(
${
test
}
PRIVATE
"
${
CMAKE_SOURCE_DIR
}
/../lib"
)
# per-test directories not generated on OS X / Darwin
if
(
NOT APPLE
)
link_directories
(
${
test
}
PRIVATE
"
${
CMAKE_SOURCE_DIR
}
/../lib"
)
endif
()
endif
()
if
(
RT_LIBRARY
)
...
...
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