mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
Help: Use a property-specific command instead of the generic one.
This commit is contained in:
parent
8609a884a2
commit
f8f02451ad
@ -17,7 +17,7 @@ installation prefix. For example:
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
set_property(TARGET mylib APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
||||
target_include_directories(mylib INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/mylib>
|
||||
$<INSTALL_INTERFACE:include/mylib> # <prefix>/include/mylib
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user