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
c77f7c30
Commit
c77f7c30
authored
Jun 28, 2010
by
Bo Thorsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installing the localized error messages with cpack
parent
5c4e95f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
CMakeLists.txt
CMakeLists.txt
+6
-6
No files found.
CMakeLists.txt
View file @
c77f7c30
...
...
@@ -396,12 +396,12 @@ SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "${CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS}
INSTALL
(
FILES sql/share/errmsg.txt DESTINATION share COMPONENT runtime
)
FILE
(
GLOB charsets sql/share/charsets/*
)
INSTALL
(
FILES
${
charsets
}
DESTINATION share/charsets COMPONENT runtime
)
FILE
(
GLOB share_dirs sql/share/*
)
FOREACH
(
SUBDIR
${
share_dirs
}
)
FILE
(
RELATIVE_PATH DIRNAME
${
PROJECT_SOURCE_DIR
}
/sql/share
${
SUBDIR
}
)
IF
(
EXISTS
${
SUBDIR
}
/errmsg.sys
)
INSTALL
(
FILES
${
SUBDIR
}
/errmsg.sys DESTINATION share/
${
DIRNAME
}
COMPONENT runtime
)
ENDIF
(
EXISTS
${
SUBDIR
}
/errmsg.sys
)
FILE
(
GLOB share_dirs sql/share/*
/errmsg.sys
)
FOREACH
(
ERRMSGFILE
${
share_dirs
}
)
STRING
(
REPLACE
"//"
"/"
ERRMSGFILE
${
ERRMSGFILE
}
)
# Work around a cmake bug
FILE
(
RELATIVE_PATH DIRNAME
${
PROJECT_SOURCE_DIR
}
/sql/share
${
ERRMSGFILE
}
)
STRING
(
REPLACE
"/errmsg.sys"
""
DIRNAME
${
DIRNAME
}
)
INSTALL
(
FILES
${
ERRMSGFILE
}
DESTINATION share/
${
DIRNAME
}
COMPONENT runtime
)
ENDFOREACH
(
SUBDIR
${
share_dirs
}
)
INCLUDE
(
InstallRequiredSystemLibraries
)
...
...
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