Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When you build with PROTOBUF_HOME set, cmake fails:
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)
Attachments
Issue Links
- links to