From 668f7358c424419110349dbfd3512b406e409f98 Mon Sep 17 00:00:00 2001 From: Marc Reilly Date: Tue, 1 Nov 2022 12:00:00 +1100 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a8f70d1..b1a30bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ endif() target_include_directories(QtZeroConf PUBLIC $ - $ + $ ) target_link_libraries(QtZeroConf PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Network)