Open dandrestor opened 4 years ago
first library to not to support add_subdirectory
:(
Looks like this is fixed/addressed
target_include_directories(${libname} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
target_include_directories(${libname}++ PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
Right now the
libconfig
project cannot be added as a sub-project in a largercmake
codebase. The problem is that the header files are not automatically found during the build phase. Please support this by adding something along the lines of: