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

Fix Mac ObjC/++ autobuilds #1080

Closed
wants to merge 4 commits into from
Closed

Conversation

MarioMastr
Copy link
Contributor

When using the autobuild scripts for building MacOS geode projects, and said geode project includes an Objective C or C++ file, the GitHub runner throws an error regarding the languages being disabled in the pch file but being now currently enabled. This is the fix as implemented according to cocos2d/cocos2d-x#20607 (comment), which should solve this, however I don't think I have a way to actually test it. Worth a shot, though.

@altalk23
Copy link
Member

altalk23 commented Sep 14, 2024

no, you are supposed to manually disable precompiled headers for objc files. geode already does this for its own files. see

set_source_files_properties(${OBJC_SOURCES} PROPERTIES SKIP_PRECOMPILE_HEADERS ON)

@altalk23 altalk23 closed this Sep 14, 2024
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