KhronosGroup / OpenCL-SDK

OpenCL SDK
Apache License 2.0
577 stars 120 forks source link

Errors trying to build simple header+loader binary #58

Closed juliohm closed 7 months ago

juliohm commented 2 years ago

I am trying to cross-compile OpenCL for different applications in Julia, but the build is giving this error as if the CMAKE_CXX_STANDARD at the top level was ignored. Can you please take a look at the following build record?

https://pastebin.com/V5CCYxDP

You can see that the C99 standard is being used for some reason in the build.