Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
bde4d7d3
Commit
bde4d7d3
authored
Mar 30, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix from wlad.
parent
08ec0a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
cmake/install_macros.cmake
cmake/install_macros.cmake
+31
-0
No files found.
cmake/install_macros.cmake
View file @
bde4d7d3
...
@@ -195,9 +195,40 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
...
@@ -195,9 +195,40 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
STRING
(
REPLACE
"
${
CMAKE_CFG_INTDIR
}
"
"Debug"
debug_target_location
"
${
target_location
}
"
)
STRING
(
REPLACE
"
${
CMAKE_CFG_INTDIR
}
"
"Debug"
debug_target_location
"
${
target_location
}
"
)
ENDIF
()
ENDIF
()
# Define permissions
# For executable files
SET
(
PERMISSIONS_EXECUTABLE
PERMISSIONS
OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
# Permissions for shared library (honors CMAKE_INSTALL_NO_EXE which is
# typically set on Debian)
IF
(
CMAKE_INSTALL_SO_NO_EXE
)
SET
(
PERMISSIONS_SHARED_LIBRARY
PERMISSIONS
OWNER_READ OWNER_WRITE
GROUP_READ
WORLD_READ
)
ELSE
()
SET
(
PERMISSIONS_SHARED_LIBRARY
${
PERMISSIONS_EXECUTABLE
}
)
ENDIF
()
# Shared modules get the same permissions as shared libraries
SET
(
PERMISSIONS_MODULE_LIBRARY
${
PERMISSIONS_SHARED_LIBRARY
}
)
# Define permissions for static library
SET
(
PERMISSIONS_STATIC_LIBRARY
PERMISSIONS
OWNER_READ OWNER_WRITE
GROUP_READ
WORLD_READ
)
INSTALL
(
${
INSTALL_TYPE
}
${
debug_target_location
}
INSTALL
(
${
INSTALL_TYPE
}
${
debug_target_location
}
DESTINATION
${
ARG_DESTINATION
}
DESTINATION
${
ARG_DESTINATION
}
${
RENAME_PARAM
}
${
RENAME_PARAM
}
${
PERMISSIONS_
${
target_type
}}
CONFIGURATIONS Release RelWithDebInfo
CONFIGURATIONS Release RelWithDebInfo
OPTIONAL
)
OPTIONAL
)
...
...
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