diff --git a/CMakeLists.txt b/CMakeLists.txt index 00653c8..71e8f62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ ExternalProject_Add( DEPENDS boost URL "http://www.eu.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz" URL_MD5 "89f63cc4d0100912f4a1f8a9dee63678" - CONFIGURE_COMMAND CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER} ${thrift_PREFIX}/src/thrift/configure --prefix=${thrift_PREFIX} --libdir=${thrift_PREFIX}/lib --with-boost=${Boost_INCLUDE_DIRS} --enable-shared=no --with-libevent=no --with-c_glib=no --with-java=no --with-erlang=no --with-python=no --with-perl=no --with-php=no --with-php_extension=no --with-ruby=no --with-haskell=no --with-go=no --with-d=no --with-lua=no --with-qt4=no --with-nodejs=no --disable-tests + CONFIGURE_COMMAND PATH=/usr/local/Cellar/bison/3.0.4/bin:$(PATH) ${thrift_PREFIX}/src/thrift/configure --prefix=${thrift_PREFIX} --libdir=${thrift_PREFIX}/lib --with-boost=${Boost_INCLUDE_DIRS} --enable-shared=no --with-libevent=no --with-c_glib=no --with-java=no --with-erlang=no --with-python=no --with-perl=no --with-php=no --with-php_extension=no --with-ruby=no --with-haskell=no --with-go=no --with-d=no --with-lua=no --with-qt4=no --with-nodejs=no --disable-tests BUILD_COMMAND $(MAKE) INSTALL_COMMAND $(MAKE) install BUILD_IN_SOURCE 1 @@ -99,7 +99,7 @@ ExternalProject_Add( PREFIX ${msgpack_PREFIX} URL "https://github.com/msgpack/msgpack-c/releases/download/cpp-1.1.0/msgpack-1.1.0.tar.gz" URL_MD5 "ac41a64d6415fd184215825048bc4523" - CONFIGURE_COMMAND CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER} ${msgpack_PREFIX}/src/msgpack/configure --prefix=${msgpack_PREFIX} --libdir=${msgpack_PREFIX}/lib --enable-shared=no --disable-debug + CONFIGURE_COMMAND ${msgpack_PREFIX}/src/msgpack/configure --prefix=${msgpack_PREFIX} --libdir=${msgpack_PREFIX}/lib --enable-shared=no --disable-debug BUILD_COMMAND $(MAKE) INSTALL_COMMAND $(MAKE) install BUILD_IN_SOURCE 1 @@ -116,7 +116,7 @@ ExternalProject_Add( PREFIX ${protobuf_PREFIX} URL "https://github.com/google/protobuf/releases/download/v2.6.0/protobuf-2.6.0.tar.bz2" URL_MD5 "78253c509a055dab316a21e754cb278a" - CONFIGURE_COMMAND CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER} ${protobuf_PREFIX}/src/protobuf/configure --prefix=${protobuf_PREFIX} --libdir=${protobuf_PREFIX}/lib --enable-shared=no + CONFIGURE_COMMAND ${protobuf_PREFIX}/src/protobuf/configure --prefix=${protobuf_PREFIX} --libdir=${protobuf_PREFIX}/lib --enable-shared=no BUILD_COMMAND $(MAKE) INSTALL_COMMAND $(MAKE) install BUILD_IN_SOURCE 1