summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authornyanpasu64 <nyanpasu64@tuta.io>2020-06-05 14:01:16 -0700
committernyanpasu64 <nyanpasu64@tuta.io>2020-07-15 23:25:18 -0700
commit1a2b6ca2d60f8566e2d89be75f181818d12cfe97 (patch)
tree375370895136b8921249141417712427daf5f12c /Source/Core/InputCommon/ControllerInterface/evdev
parentb6ee3228be73284e91ad5514f3d38c0c71ef93d3 (diff)
Fix Windows CMake builds with shared zlib
On Linux, if shared zlib is present, zlib.h is always available and -lz links to zlib, even if you don't run find_package(ZLIB). For some reason I have zlib installed on Windows (possibly from vcpkg), so find_package(ZLIB) succeeds and ZLIB_FOUND is true. When Dolphin uses shared zlib on Windows, the problem is that zlib.h is not in the default include path, and the CMake target is called ZLIB::ZLIB and there's neither a target nor a library called z. However, both find_package(ZLIB) and add_subdirectory(Externals/zlib) create a target called ZLIB::ZLIB, so I'll switch to that instead. Hopefully this change doesn't break anyone's build.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions