Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
483c68d8
Commit
483c68d8
authored
8 years ago
by
Nick Zavaritsky
Browse files
Options
Downloads
Patches
Plain Diff
Fix #1645: Warnings related to MACOSX_RPATH
parent
ae08a271
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/os.cmake
+9
-0
9 additions, 0 deletions
cmake/os.cmake
with
9 additions
and
0 deletions
cmake/os.cmake
+
9
−
0
View file @
483c68d8
...
...
@@ -44,6 +44,15 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
find_package_message
(
PLATFORM
"Building for OS X"
"
${
CMAKE_SYSTEM_NAME
}
"
)
find_package_message
(
DARWIN_BUILD_TYPE
"DARWIN_BUILD_TYPE:
${
DARWIN_BUILD_TYPE
}
"
"
${
DARWIN_BUILD_TYPE
}
"
)
# In Mac OS, the dynamic linker recognizes
# @loader_path, @executable_path and @rpath tokens, ex:
# '@loder_path/lit.dylib'
# means load lit from the same dir the requesting binary lives in.
# Since our dynamic libraries aren't intended for static linking,
# this is pretty much irrelevant. Disable CMake rpath features
# altogether. Suppresses a few warnings.
set
(
CMAKE_SKIP_RPATH true
)
else
()
message
(
FATAL_ERROR
"Unsupported platform --
${
CMAKE_SYSTEM_NAME
}
"
)
endif
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment