From 53d8fcb75754d63e3af1a89d5f230eb325e0b9f5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Jan 2023 12:06:36 +0100 Subject: cmake: fix duplicate target names --- 3rdparty/winapi/utf8 | 2 +- CMakeLists.txt | 5 ++++- Makefile | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/3rdparty/winapi/utf8 b/3rdparty/winapi/utf8 index 03385b2..8f6ebdc 160000 --- a/3rdparty/winapi/utf8 +++ b/3rdparty/winapi/utf8 @@ -1 +1 @@ -Subproject commit 03385b2e14bf1b8fa3d7f97e7319dfd54acf9451 +Subproject commit 8f6ebdcc8655f5a568a4ff12a4858556e315abbe diff --git a/CMakeLists.txt b/CMakeLists.txt index 86ca24a..393dfeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,5 +38,8 @@ if(DOXYGEN_FOUND) set(DOXYGEN_SORT_MEMBER_DOCS NO) set(DOXYGEN_SOURCE_BROWSER YES) set(DOXYGEN_USE_MDFILE_AS_MAINPAGE README.md) - doxygen_add_docs(docs README.md ${winapi_common_include} ${winapi_common_src}) + doxygen_add_docs(winapi_common_docs + README.md + ${winapi_common_include} + ${winapi_common_src}) endif() diff --git a/Makefile b/Makefile index 18b6f52..c8c76f0 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ xdg-open := $(shell command -v xdg-open 2> /dev/null) .PHONY: docs docs: - cmake --build '$(call escape,$(cmake_dir))' --target docs + cmake --build '$(call escape,$(cmake_dir))' --target winapi_common_docs ifndef CI ifdef xdg-open xdg-open '$(call escape,$(cmake_dir))/html/index.html' &> /dev/null -- cgit v1.2.3