Commit 1f456545 authored by Mohamed Akram's avatar Mohamed Akram Committed by Facebook Github Bot

Fix usage of target_include_directories (#862)

Summary:
See https://gitlab.kitware.com/cmake/cmake/issues/16686

This patch was originally contributed to MacPorts by mohd-akram in https://github.com/macports/macports-ports/pull/1933.
Closes https://github.com/facebook/folly/pull/862

Reviewed By: Orvid

Differential Revision: D8346974

Pulled By: yfeldblum

fbshipit-source-id: 2673e1f414dd86bf91bb2183c2f6d9f7e72251f8
parent 467571e4
...@@ -206,9 +206,8 @@ source_group("folly\\build" FILES ...@@ -206,9 +206,8 @@ source_group("folly\\build" FILES
target_include_directories(folly_deps target_include_directories(folly_deps
INTERFACE INTERFACE
$<BUILD_INTERFACE: $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
${CMAKE_CURRENT_SOURCE_DIR} $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
${CMAKE_CURRENT_BINARY_DIR}>
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:include>
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment