mirror of
https://github.com/debauchee/barrier.git
synced 2026-06-27 23:46:16 +08:00
Use build_dist.sh in CMake instead of build_installer.sh
Have CMake always build a bundle, the `build_dist.sh` script will only build a dmg if the build type is "Release"
This commit is contained in:
@@ -400,12 +400,10 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
|
|
||||||
configure_files (${BARRIER_BUNDLE_SOURCE_DIR} ${BARRIER_BUNDLE_DIR})
|
configure_files (${BARRIER_BUNDLE_SOURCE_DIR} ${BARRIER_BUNDLE_DIR})
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
||||||
add_custom_target(Barrier_dmg ALL
|
add_custom_target(Barrier_dmg ALL
|
||||||
bash build_installer.sh
|
bash build_dist.sh
|
||||||
DEPENDS barrier barriers barrierc
|
DEPENDS barrier barriers barrierc
|
||||||
WORKING_DIRECTORY ${BARRIER_BUNDLE_DIR})
|
WORKING_DIRECTORY ${BARRIER_BUNDLE_DIR})
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user