Owen O'Malley created ORC-269:
---------------------------------
Summary: cmake fails when PROTOBUF_HOME set and libhdfs is built
Key: ORC-269
URL: https://issues.apache.org/jira/browse/ORC-269
Project: ORC
Issue Type: Bug
Reporter: Owen O'Malley
When you build with PROTOBUF_HOME set, cmake fails:
{code}
owen@desk> cmake .. -DPROTOBUF_HOME=/usr
-- No build type selected, default to ReleaseWithDebugInfo
-- compiler GNU version 5.4.0
-- PROTOBUF_HOME: /usr
-- Found the Protobuf headers: /usr/include
-- Found the Protobuf library: /usr/lib/x86_64-linux-gnu/libprotobuf.a
-- Found the Protoc library: /usr/lib/x86_64-linux-gnu/libprotoc.a
-- Found the Protoc executable: /usr/bin/protoc
CMake Error at /usr/share/cmake-3.5/Modules/ExternalProject.cmake:2126
(get_property):
get_property could not find TARGET protobuf_ep. Perhaps it has not yet
been created.
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/ExternalProject.cmake:2462
(_ep_add_configure_command)
cmake_modules/ThirdpartyToolchain.cmake:295 (ExternalProject_Add)
CMakeLists.txt:105 (INCLUDE)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)