Brad King writes:
> CMake 2.8.8 introduced support for per-target include directories.
> Prior to that the directory-level INCLUDE_DIRECTORIES property was
> documented as read-only:
>
> $ cmake --help-property INCLUDE_DIRECTORIES
> cmake version 2.8.7
> INCLUDE_DIRECTORIES
>List of pre
On 4/30/2012 8:37 PM, Raphael Kubo da Costa wrote:
add_library(foo foo.c)
set_directory_properties(
PROPERTIES INCLUDE_DIRECTORIES "${SOME_DIRECTORY}")
[snip]
Is this change of behaviour intentional?
CMake 2.8.8 introduced support for per-target include directories.
Prior to that
While packaging CMake 2.8.8 for FreeBSD, an old port of lprof [1]
started failing to build after some include headers were not found.
The relevant CMakeLists does the following:
add_library(foo foo.c)
set_directory_properties(
PROPERTIES INCLUDE_DIRECTORIES "${SOME_DIRECTORY}")
foo.c i