Update YAZE project configuration to switch to dynamic library linkage and adjust SDL2 dependencies
- Modified the `YAZE.vcxproj` file to change the Vcpkg triplet settings for Windows platforms from static to dynamic. - Updated the `AdditionalDependencies` for various configurations to use dynamic versions of SDL2 libraries, enhancing compatibility and reducing build complexity. - Adjusted the `cmake/vcpkg.cmake` file to reflect the change in library linkage, ensuring consistent behavior across builds.
This commit is contained in:
@@ -4,7 +4,7 @@ add_definitions("-DMICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVER
|
||||
|
||||
# vcpkg settings
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
|
||||
# Enable vcpkg manifest mode for automatic dependency management
|
||||
set(VCPKG_MANIFEST_MODE ON)
|
||||
|
||||
Reference in New Issue
Block a user