chore: update CMakeLists

- update the use of target_sources() to remove duplicated header file declarations.
	- thx Gary Wang
This commit is contained in:
yyc12345 committed 2024-06-15 22:03:17 +08:00
1 parent 5481898ad9
commit 8465d80a54
3 files changed
+32 -47

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ add_executable(YYCCTestbench "")
# Setup testbench sources
target_sources(YYCCTestbench
PRIVATE
${CMAKE_CURRENT_LIST_DIR}/main.cpp
main.cpp
)
# Add YYCC as its library
target_include_directories(YYCCTestbench