]> sigrok.org Git - pulseview.git/commitdiff
manual: add cmake project() directive for standalone operation
authorGerhard Sittig <redacted>
Sun, 2 Oct 2022 14:07:10 +0000 (16:07 +0200)
committerGerhard Sittig <redacted>
Sun, 2 Oct 2022 14:07:10 +0000 (16:07 +0200)
The cmake rules in the manual/ subdirectory are designed to work both in
the context of the application build, as well as for exclusive creation
of the manual.

Add a project() directive in the manual/ cmake rules. Its absence was
not fatal but resulted in warnings. This amends commit 074da67ee25a.

manual/CMakeLists.txt

index c425f36b3bdd7eb3cf246b6c593a97218a8edcfd..f336a02dadc29da80096f27dea50c1268dbc3ecc 100644 (file)
@@ -19,6 +19,8 @@
 
 cmake_minimum_required(VERSION 2.8.12)
 
+project(PV_MANUAL)
+
 # External dependencies, required and optional tools.
 find_program(ASCIIDOCTOR_EXECUTABLE NAMES asciidoctor)
 find_program(ASCIIDOCTOR_PDF_EXECUTABLE NAMES asciidoctor-pdf)