Gang Wu created ORC-640:
---------------------------
Summary: [C++] Support consumption as CMake submodule
Key: ORC-640
URL: https://issues.apache.org/jira/browse/ORC-640
Project: ORC
Issue Type: Improvement
Components: C++
Reporter: Gang Wu
Consuming Apache ORC in a C++ project as CMake submodule (via add_subdirectory)
currently causes two issues:
* A warning about CMake policy CMP0048 not being set, which cannot be
suppressed from the outside:
{{CMake Warning (dev) at third_party/orc/CMakeLists.txt:15 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.}}
* Errors about CMake modules not being found:
{{CMake Error at third_party/orc/CMakeLists.txt:116 (INCLUDE):
INCLUDE could not find load file:
CheckSourceCompiles
CMake Error at third_party/orc/CMakeLists.txt:117 (INCLUDE):
INCLUDE could not find load file:
ThirdpartyToolchain}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)