chore: update CMakeLists

- update the use of target_sources() to remove duplicated header file declarations.
	- thx Gary Wang
This commit is contained in:
2024-06-15 21:53:45 +08:00
parent 5481898ad9
commit 8465d80a54
3 changed files with 32 additions and 47 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.23)
project(YYCC
VERSION 1.0.0
LANGUAGES CXX