List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:November 9 2010 3:35pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3982)
View as plain text  
#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped

 3982 Magnus Blåudd	2010-11-09
      ndb
       - link ndb_mgm with readline libraries on *nix
       - strip src/mgmclient/CMakeLists.txt from uneccessary includes

    modified:
      storage/ndb/src/mgmclient/CMakeLists.txt
=== modified file 'storage/ndb/src/mgmclient/CMakeLists.txt'
--- a/storage/ndb/src/mgmclient/CMakeLists.txt	2010-03-05 19:19:56 +0000
+++ b/storage/ndb/src/mgmclient/CMakeLists.txt	2010-11-09 15:35:52 +0000
@@ -13,14 +13,13 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-INCLUDE(${CMAKE_SOURCE_DIR}/storage/ndb/config/type_ndbapi.cmake)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/storage/ndb/include/mgmapi
-                    ${CMAKE_SOURCE_DIR}/storage/ndb/src/common/mgmcommon)
+INCLUDE_DIRECTORIES(${NDB_SOURCE_DIR}/src/common/mgmcommon
+		    ${READLINE_INCLUDE_DIR})
 
 ADD_LIBRARY(ndbmgmclient STATIC
             CommandInterpreter.cpp)
 
-
+ADD_DEFINITIONS(${READLINE_DEFINES})
 ADD_EXECUTABLE(ndb_mgm
                main.cpp)
 
@@ -34,5 +33,8 @@ TARGET_LINK_LIBRARIES(ndb_mgm
                dbug
                mysys
                strings)
+IF(UNIX)
+  TARGET_LINK_LIBRARIES(ndb_mgm ${READLINE_LIBRARY})
+ENDIF(UNIX)
 
 INSTALL(TARGETS ndb_mgm DESTINATION bin)

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20101109153552-asbqi55bat0ew9oz.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3982) Magnus Blåudd9 Nov