CMakeLists.txt: add env vars to target_include_directories

This commit is contained in:
Alexey Andreyev 2019-06-27 16:48:44 +03:00 committed by Hubert Chathi
parent ebd3ba6cc1
commit aa0c9ab6b5

View file

@ -50,8 +50,8 @@ add_library(Olm::Olm ALIAS olm)
target_include_directories(olm target_include_directories(olm
PUBLIC PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/lib) ${CMAKE_CURRENT_SOURCE_DIR}/lib)