chore: update CMake dependency configurations to remove PARENT_SCOPE

- Removed PARENT_SCOPE from various dependency target definitions in CMake files (grpc.cmake, imgui.cmake, sdl2.cmake, testing.cmake, yaml.cmake).
- Ensured that all targets are set locally for better clarity and management.

Benefits:
- Simplifies the dependency management process and improves the readability of CMake configurations.
This commit is contained in:
scawful
2025-11-01 11:32:16 -04:00
parent 7ce08b7e13
commit a9f0b8eb9c
6 changed files with 3 additions and 11 deletions

View File

@@ -67,7 +67,6 @@ if(YAZE_BUILD_TESTS)
endif()
# Export ImGui targets for use in other CMake files
set(YAZE_IMGUI_TARGETS ImGui PARENT_SCOPE)
set(YAZE_IMGUI_TARGETS ImGui)
message(STATUS "Dear ImGui setup complete - YAZE_IMGUI_TARGETS = ${YAZE_IMGUI_TARGETS}")