You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2019/04/14 12:49:27 UTC

[hawq] 02/02: HAWQ-1698. fix univplan cannot be build in linux bug

This is an automated email from the ASF dual-hosted git repository.

huor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git

commit ede551ef227eea4e125f075108965487d7ad01f9
Author: oushu1tuyu1 <tu...@oushu.io>
AuthorDate: Sun Apr 14 20:02:52 2019 +0800

    HAWQ-1698. fix univplan cannot be build in linux bug
---
 depends/univplan/src/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/depends/univplan/src/CMakeLists.txt b/depends/univplan/src/CMakeLists.txt
index ffc4380..950c8d5 100644
--- a/depends/univplan/src/CMakeLists.txt
+++ b/depends/univplan/src/CMakeLists.txt
@@ -46,9 +46,10 @@ INCLUDE_DIRECTORIES(${univplan_ROOT_DIR})
 INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src)
 INCLUDE_DIRECTORIES(${DEPENDENCY_INSTALL_PREFIX}/include)
 INCLUDE_DIRECTORIES(/usr/local/include)
+INCLUDE_DIRECTORIES(${univplan_ROOT_DIR}/../../dbcommon/build/install/usr/local/hawq/include)
 LINK_DIRECTORIES(/usr/local/lib)
 LINK_DIRECTORIES(${DEPENDENCY_INSTALL_PREFIX}/lib)
-
+LINK_DIRECTORIES(${univplan_ROOT_DIR}/../../dbcommon/build/install/usr/local/hawq/lib)
 
 ADD_LIBRARY(univplan-shared SHARED
             ${UNIVPLAN_PROTO_HDRS}