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:
@@ -13,7 +13,7 @@ if(YAZE_USE_SYSTEM_DEPS)
|
||||
message(STATUS "Using system yaml-cpp")
|
||||
add_library(yaze_yaml INTERFACE IMPORTED)
|
||||
target_link_libraries(yaze_yaml INTERFACE yaml-cpp)
|
||||
set(YAZE_YAML_TARGETS yaze_yaml PARENT_SCOPE)
|
||||
set(YAZE_YAML_TARGETS yaze_yaml)
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user