Sam Lantinga f7c9502dfb Fixed bug 5044 - CMake messes up hidapi path when project directory contains spaces
Eric Jing

When the project directory path contains spaces, CMake butchers the include path for the hidapi files.

I traced the problem to the cmake/sdlchecks.cmake file at line 1091, which sets flags for the build process. I surrounded the problem flag with double quotes, shown below, and CMake works with spaces in the project directory path.
2020-03-20 12:13:26 -07:00
2020-01-16 20:49:25 -08:00



                         Simple DirectMedia Layer



                                  (SDL)



                                Version 2.0



---

https://www.libsdl.org/



Simple DirectMedia Layer is a cross-platform development library designed

to provide low level access to audio, keyboard, mouse, joystick, and graphics

hardware via OpenGL and Direct3D. It is used by video playback software,

emulators, and popular games including Valve's award winning catalog

and many Humble Bundle games.



More extensive documentation is available in the docs directory, starting

with README.md



Enjoy!

	Sam Lantinga				(slouken@libsdl.org)

S
Description
Simple Directmedia Layer
Readme 211 MiB
Languages
C 85.3%
C++ 6.6%
Objective-C 3.4%
CMake 1.7%
Python 0.7%
Other 2%