Rename 'package' target on macos to 'dmg' to avoid cpack conflict

CLI11 uses cpack, which makes us fail to configure on macos because of
the 'package' target.  Renaming it to 'dmg' should avoid the conflict.
pull/2107/head
Jason Rhinelander 1 year ago committed by dan
parent dc7f3cee22
commit 3d0fe8ecb7

@ -150,7 +150,7 @@ if(BUILD_PACKAGE)
"${lokinet_installer}" "${lokinet_installer}"
COMMAND ./seticon lokinet.icns "${lokinet_installer}.dmg" COMMAND ./seticon lokinet.icns "${lokinet_installer}.dmg"
) )
add_custom_target(package DEPENDS "${lokinet_installer}.dmg") add_custom_target(dmg DEPENDS "${lokinet_installer}.dmg")
endif() endif()

@ -19,7 +19,7 @@ fi
cd build-mac cd build-mac
rm -rf Lokinet\ * rm -rf Lokinet\ *
ninja -j${JOBS:-1} package ninja -j${JOBS:-1} dmg
cd .. cd ..
echo -e "Build complete, your app is here:\n" echo -e "Build complete, your app is here:\n"

Loading…
Cancel
Save