Skip to content

Commit af83af8

Browse files
authored
Xcode fix (#3)
* removed submodules * removed * removed old build folder * fixed cmake command for xcode
1 parent bdd8ea9 commit af83af8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,11 @@ def run_process(args):
4242
os.makedirs('build', exist_ok=True)
4343
os.chdir('build')
4444

45-
run_process(['cmake', '..', f'-DPLATFORM:STRING={platform}','-G', 'Xcode'])
45+
cmd = ['cmake', '..', f'-DPLATFORM:STRING={platform}']
46+
47+
if platform == 'osx':
48+
cmd.append('-G')
49+
cmd.append('Xcode')
50+
51+
run_process(cmd)
4652

0 commit comments

Comments
 (0)