You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used add_subdirectory(third_party/clickhouse-cpp EXCLUDE_FROM_ALL) to import the targets of clickhouse library.
However in the root CMakeLists.txt of this project, the directories required is specified by INCLUDE_DIRECTORIES, not TARGET_INCLUDE_DIRECTORIES. So only linking the target in CMake is not enough, which is not encouraged by modern CMake practice.
Is it feasible to modify the CMake files, so external projects can import clickhouse more conveniently?
The text was updated successfully, but these errors were encountered:
I used
add_subdirectory(third_party/clickhouse-cpp EXCLUDE_FROM_ALL)
to import the targets of clickhouse library.However in the root
CMakeLists.txt
of this project, the directories required is specified byINCLUDE_DIRECTORIES
, notTARGET_INCLUDE_DIRECTORIES
. So only linking the target in CMake is not enough, which is not encouraged by modern CMake practice.Is it feasible to modify the CMake files, so external projects can import clickhouse more conveniently?
The text was updated successfully, but these errors were encountered: