Skip to content
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

CMAKE_CL_64 is deprecated and only works with Microsoft Visual Studio #2922

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

sercero
Copy link
Contributor

@sercero sercero commented Aug 21, 2023

Instead of using CMAKE_CL_64, we should be using CMAKE_SIZEOF_VOID_P.
In the official CMAKE documentation it says that CMAKE_CL_64 is deprecated (https://cmake.org/cmake/help/latest/variable/CMAKE_CL_64.html)
And the 64-bit detection does not work in MinGW64.

@paroj
Copy link
Member

paroj commented Aug 22, 2023

can you rebase this on master? CI is currently failing due to zlib..

@paroj paroj merged commit faf81ef into OGRECave:master Aug 22, 2023
5 checks passed
@sercero sercero deleted the directx_detect branch February 27, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants