diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-26 05:39:48 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-26 05:39:48 +0100 |
commit | 9129685e5103bbe23b1f66dc89b0f994c52600b9 (patch) | |
tree | 12bd4cc946e8564dee1b5fb2030283eec5878f24 /cmake/abi_check.cmake | |
parent | 809e20f2d7875d22374e9209902c38d0b93e3cec (diff) | |
parent | f8a5a1284b4e37ce2b5ab9ef8dfba8522366bd11 (diff) | |
download | mariadb-git-9129685e5103bbe23b1f66dc89b0f994c52600b9.tar.gz |
merge, add plugin/audit_null/CMakeLists.txt
Diffstat (limited to 'cmake/abi_check.cmake')
-rw-r--r-- | cmake/abi_check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/abi_check.cmake b/cmake/abi_check.cmake index 80c57fa0a6e..73f2a6e19bb 100644 --- a/cmake/abi_check.cmake +++ b/cmake/abi_check.cmake @@ -20,7 +20,7 @@ # # We use gcc specific preprocessing command and sed/diff, so it will # only be run on Unix and only if gcc is used. -IF(CMAKE_COMPILER_IS_GNUCC AND Linux) +IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_SYSTEM_NAME MATCHES "Linux") IF(CMAKE_C_COMPILER MATCHES "ccache$") SET(COMPILER ${CMAKE_C_COMPILER_ARG1}) STRING(REGEX REPLACE "^ " "" COMPILER ${COMPILER}) |