mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 14:22:11 +02:00
Don't include Console in OSX client-only builds
This commit is contained in:
parent
259274c6f9
commit
07b02d1442
2 changed files with 6 additions and 1 deletions
2
.github/workflows/pr_build.yml
vendored
2
.github/workflows/pr_build.yml
vendored
|
@ -154,7 +154,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build . --config $BUILD_TYPE --target assignment-client $CMAKE_BUILD_EXTRA
|
run: cmake --build . --config $BUILD_TYPE --target assignment-client $CMAKE_BUILD_EXTRA
|
||||||
- name: Build Console
|
- name: Build Console
|
||||||
if: matrix.build_type == 'full'
|
if: matrix.build_type == 'full' || matrix.os == 'windows-latest'
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build . --config $BUILD_TYPE --target packaged-server-console $CMAKE_BUILD_EXTRA
|
run: cmake --build . --config $BUILD_TYPE --target packaged-server-console $CMAKE_BUILD_EXTRA
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
set(TARGET_NAME packaged-server-console)
|
set(TARGET_NAME packaged-server-console)
|
||||||
|
|
||||||
|
if (CLIENT_ONLY AND APPLE)
|
||||||
|
# Don't include Console.app in client-only OSX DMGs.
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
if (PRODUCTION_BUILD)
|
if (PRODUCTION_BUILD)
|
||||||
set(PRODUCTION_OPTION "--production")
|
set(PRODUCTION_OPTION "--production")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue