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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ee1373e9
Commit
ee1373e9
authored
Nov 24, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support alternate license file.
parent
07a07e29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
packaging/WiX/CMakeLists.txt
packaging/WiX/CMakeLists.txt
+6
-1
No files found.
packaging/WiX/CMakeLists.txt
View file @
ee1373e9
...
...
@@ -63,7 +63,12 @@ FIND_PROGRAM(LIGHT_EXECUTABLE light ${WIX_DIR})
IF
(
EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/COPYING.rtf"
)
SET
(
COPYING_RTF
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/COPYING.rtf"
)
ELSE
()
FILE
(
READ
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../COPYING"
CONTENTS
)
IF
(
EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../LICENSE.mysql"
)
SET
(
LICENSE_FILE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../LICENSE.mysql"
)
ELSE
()
SET
(
LICENSE_FILE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../COPYING"
)
ENDIF
()
FILE
(
READ
${
LICENSE_FILE
}
CONTENTS
)
STRING
(
REGEX REPLACE
"
\n
"
"
\\\\
par
\n
"
CONTENTS
"
${
CONTENTS
}
"
)
STRING
(
REGEX REPLACE
"
\t
"
"
\\\\
tab"
CONTENTS
"
${
CONTENTS
}
"
)
FILE
(
WRITE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/COPYING.rtf"
"{
\\
rtf1
\\
ansi
\\
deff0{
\\
fonttbl{
\\
f0
\\
fnil
\\
fcharset0 Courier New;}}
\\
viewkind4
\\
uc1
\\
pard
\\
lang1031
\\
f0
\\
fs15"
)
...
...
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