aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 12:06:36 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 12:31:09 +0100
commit53d8fcb75754d63e3af1a89d5f230eb325e0b9f5 (patch)
treea72a27b9cbe4e11ac2ac5e381d2cafa3e8716297
parentworkflows/ci: add VS 2022 builds (diff)
downloadwinapi-common-53d8fcb75754d63e3af1a89d5f230eb325e0b9f5.tar.gz
winapi-common-53d8fcb75754d63e3af1a89d5f230eb325e0b9f5.zip
cmake: fix duplicate target names
m---------3rdparty/winapi/utf80
-rw-r--r--CMakeLists.txt5
-rw-r--r--Makefile2
3 files changed, 5 insertions, 2 deletions
diff --git a/3rdparty/winapi/utf8 b/3rdparty/winapi/utf8
-Subproject 03385b2e14bf1b8fa3d7f97e7319dfd54acf945
+Subproject 8f6ebdcc8655f5a568a4ff12a4858556e315abb
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