We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918ab59 commit dc9f695Copy full SHA for dc9f695
1 file changed
INSTALL.txt
@@ -95,3 +95,22 @@ That's all you need to do (the imported target also brings in the include direct
95
96
You may also need to point the CMAKE_PREFIX_PATH environment variable depending
97
on where you installed KDSingleApplication.
98
+
99
+You can also use KDSingleApplication with CMake FetchContent.
100
+In your CMake file:
101
102
+ qt_add_executable(MyApp)
103
104
+ include(FetchContent)
105
106
+ FetchContent_Declare(
107
+ kdsingleapplication
108
+ GIT_REPOSITORY https://github.com/KDAB/KDSingleApplication.git
109
+ GIT_TAG v1.2.1
110
+ )
111
112
+ FetchContent_MakeAvailable(kdsingleapplication)
113
114
+ target_link_libraries(MyApp PRIVATE KDAB::kdsingleapplication)
115
116
+The linked target will bring in the include directories.
0 commit comments