[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] bctoolbox CMake interface include directories
From: |
Florian Ulivi |
Subject: |
[Linphone-developers] bctoolbox CMake interface include directories |
Date: |
Wed, 11 Apr 2018 11:28:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hi,
I am trying to compile linphone for yocto rocko and stumbled upon
something in the BcToolboxConfig.cmake. It requests the
INTERFACE_INCLUDE_DIRECTORIES in the line containing
get_target_property(BCTOOLBOX_${uppercomp}_INCLUDE_DIRS ${targetname}
INTERFACE_INCLUDE_DIRECTORIES) but it is actually never set for core.
In my case I could fix this by adding
target_include_directories(bctoolbox INTERFACE
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include/>
$<INSTALL_INTERFACE:include/bctoolbox>
to src/CMakeLists.txt in bctoolbox project.
Sadly I have no time to thoroughly check this and create a patch, but
for my case it works and maybe it is help to someone else.
Kind Regards,
Florian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] bctoolbox CMake interface include directories,
Florian Ulivi <=