-
Notifications
You must be signed in to change notification settings - Fork 366
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
Building with clang using ninja on windows #766
Comments
I hit the same issue as @Hatrickek (apparently 7 hours after). The workaround is good to get buildling/running, although it may be that skipping that |
JoltPhysics/Build/CMakeLists.txt Line 69 in 6535d6c
I would probably advise just replacing that whole thing with JoltPhysics/Build/CMakeLists.txt Line 131 in 6535d6c
Then this could probably just be an |
I can confirm that @mihe's solution works for my cmake/clang/ninja setup. |
It indeed works thanks 🙂 |
Currently Jolt doesn't build with clang on Windows because of this line: https://github.com/jrouwe/JoltPhysics/blob/master/Build/CMakeLists.txt#L82
Giving this error:
I could simply fix it by adding
AND NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"
to the top if check in my fork and it built and run successfully.https://github.com/Hatrickek/JoltPhysics/blob/master/Build/CMakeLists.txt#L69
The text was updated successfully, but these errors were encountered: