Include the dynamic loading library to enhance compatibility when using the fmt library, ensuring that dependent components can function correctly with external resources.
Ensure consistent path resolution by replacing CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR in various locations. This improves portability and adherence to project structure, facilitating better package management and plugin detection.