mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 07:02:46 +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
|
||||
run: cmake --build . --config $BUILD_TYPE --target assignment-client $CMAKE_BUILD_EXTRA
|
||||
- name: Build Console
|
||||
if: matrix.build_type == 'full'
|
||||
if: matrix.build_type == 'full' || matrix.os == 'windows-latest'
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
shell: bash
|
||||
run: cmake --build . --config $BUILD_TYPE --target packaged-server-console $CMAKE_BUILD_EXTRA
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
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)
|
||||
set(PRODUCTION_OPTION "--production")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue