diff options
author | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-06-28 14:59:15 +0100 |
---|---|---|
committer | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-06-28 14:59:15 +0100 |
commit | 1758bf199db045a75291a4730f51a0ab84ff6861 (patch) | |
tree | 623acf92462d374e1e635f75b4ff5d4a61cd9f00 /scripts | |
parent | 0699a984133aa13f66c24ab84fc561036e6eb0c5 (diff) | |
download | mariadb-git-1758bf199db045a75291a4730f51a0ab84ff6861.tar.gz |
Expand some variables for mysqlbug.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 84472c3a5c3..af8c214503f 100755 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -140,6 +140,19 @@ ENDIF() SET(HOSTNAME "hostname") +# Required for mysqlbug until autotools are deprecated, once done remove these +# and expand default cmake variables +SET(CC ${CMAKE_C_COMPILER}) +SET(CXX ${CMAKE_CXX_COMPILER}) +#XXX don't set CFLAGS, has already been done earlier +#XXX don't set CXXFLAGS, has already been done earlier +SET(SAVE_CC ${CMAKE_C_COMPILER}) +SET(SAVE_CXX ${CMAKE_CXX_COMPILER}) +SET(SAVE_CFLAGS ${CFLAGS}) +SET(SAVE_CXXFLAGS ${CXXFLAGS}) +# XXX no cmake equivalent for this, just make one up +SET(CONFIGURE_LINE "Built using CMake") + ENDIF(UNIX) # Really ugly, one script, "mysql_install_db", needs prefix set to ".", |