Bug#18305641 SOLARIS SPECIFIIC FILES INSTALLED ON ALL PLATFORMS

Don't install solaris specific files on other platforms.
This commit is contained in:
Tor Didriksen 2014-03-04 16:41:14 +01:00
parent b263e9d5bb
commit 5295b21feb

View File

@ -1,4 +1,4 @@
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -17,6 +17,10 @@
# Any files in this directory are auxiliary files for Solaris "pkg" packages. # Any files in this directory are auxiliary files for Solaris "pkg" packages.
# They will be configured during "pkg" creation, not during (binary) build. # They will be configured during "pkg" creation, not during (binary) build.
IF(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
RETURN()
ENDIF()
# Currently, this expands to "support-files/" in most layouts, # Currently, this expands to "support-files/" in most layouts,
# but to "/usr/share/mysql/" in a RPM. # but to "/usr/share/mysql/" in a RPM.
# It is important not to pollute "/usr/bin". # It is important not to pollute "/usr/bin".