-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindLibOVR always selects the 32bit version of the Oculus SDK on Visual Studio 16 2019 #354
Comments
Related comment:
|
I'm not completely sure, but I don't think this is an issue of the module, if I understand correctly, @traversaro can you add a link to the "Related comment" above? |
I did the same assumption, but the key docs is:
If the user does not specify anything (i.e. the default generator is used) then the property is empty. So defaulting to 32-bit is ok for VS <= 2017, but not for VS2019 whose CMake generator defaults depend on the host platform, see https://cmake.org/cmake/help/latest/variable/CMAKE_VS_PLATFORM_NAME_DEFAULT.html#cmake-vs-platform-name-default . Probably using |
The related comment is the one that I copied, is just something that I copied from a private issue tracker. |
FindLibOVR
detects the SDK version to be used by usingCMAKE_GENERATOR_PLATFORM
https://github.com/robotology/ycm/blob/32e544488537e435d61ffe237bb72f3908552c9c/find-modules/FindLibOVR.cmake#L55On Visual Studio 16 2019 this variable is not set, thus defaulting to the 32bit version.
@traversaro
The text was updated successfully, but these errors were encountered: