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
9f54ae51
Commit
9f54ae51
authored
Mar 22, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CMake code to work with older cmake version, such as 2.6.2
parent
b34cfe93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
cmake/install_macros.cmake
cmake/install_macros.cmake
+16
-10
No files found.
cmake/install_macros.cmake
View file @
9f54ae51
...
...
@@ -40,17 +40,23 @@ FUNCTION (INSTALL_DEBUG_SYMBOLS)
IF
(
CMAKE_GENERATOR MATCHES
"Visual Studio"
)
STRING
(
REPLACE
"
${
CMAKE_CFG_INTDIR
}
"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
pdb_location
${
pdb_location
}
)
ENDIF
()
IF
(
ARG_COMPONENT STREQUAL
"Server"
AND
(
target MATCHES
"mysqld"
OR type MATCHES
"MODULE"
))
#MESSAGE("PDB: ${targets}")
SET
(
comp Server
)
ELSEIF
(
ARG_COMPONENT MATCHES Development
OR ARG_COMPONENT MATCHES SharedLibraries
OR ARG_COMPONENT MATCHES Embedded
)
IF
(
ARG_COMPONENT STREQUAL
"Server"
)
IF
(
target MATCHES
"mysqld"
OR type MATCHES
"MODULE"
)
#MESSAGE("PDB: ${targets}")
SET
(
comp Server
)
ENDIF
()
ENDIF
()
IF
(
NOT comp MATCHES Server
)
IF
(
ARG_COMPONENT MATCHES Development
OR ARG_COMPONENT MATCHES SharedLibraries
OR ARG_COMPONENT MATCHES Embedded
)
SET
(
comp Debuginfo
)
ELSE
()
SET
(
comp Debuginfo_archive_only
)
# not in MSI
ENDIF
()
ENDIF
()
SET
(
comp Debuginfo
)
ELSE
()
SET
(
comp Debuginfo_archive_only
)
# not in MSI
ENDIF
()
INSTALL
(
FILES
${
pdb_location
}
DESTINATION
${
ARG_INSTALL_LOCATION
}
COMPONENT
${
comp
}
)
ENDFOREACH
()
ENDIF
()
...
...
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