forked from jbagg/QtZeroConf
project: cmake: change include path for INSTALL_INTERFACE
This updates the include path used when this project is used/consumed via find_package(). The include paths no longer need to be prefixed with 'QtZeroConf', and so now they can be included the same regardless of whether this project is being used via FetchContent or find_package Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
This commit is contained in:
@ -51,7 +51,7 @@ endif()
|
||||
|
||||
target_include_directories(QtZeroConf PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
$<INSTALL_INTERFACE:include/QtZeroConf>
|
||||
)
|
||||
target_link_libraries(QtZeroConf PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Network)
|
||||
|
||||
|
Reference in New Issue
Block a user