You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building the library in windows there is some errors with the Windows.h definitions such as:
error: 'SetThreadDpiAwarenessContext' was not declared in this scope
error: 'GetDpiForWindow' was not declared in this scope
This is solved by defining the windows version as: target_compile_definitions(CrossWindow PRIVATE _WIN32_WINNT=0x0A00) # Sets the windows version to windows 10
Maybe this should be handled by the internal CMakeLists like one of these solutions?
The text was updated successfully, but these errors were encountered:
When building the library in windows there is some errors with the Windows.h definitions such as:
This is solved by defining the windows version as:
target_compile_definitions(CrossWindow PRIVATE _WIN32_WINNT=0x0A00) # Sets the windows version to windows 10
Maybe this should be handled by the internal CMakeLists like one of these solutions?
The text was updated successfully, but these errors were encountered: