diff --git a/outerSpace/prog/jamfile b/outerSpace/prog/jamfile index 72aea9781..99b36c921 100644 --- a/outerSpace/prog/jamfile +++ b/outerSpace/prog/jamfile @@ -132,7 +132,7 @@ if $(Dedicated) != yes { BundleCopy = platform/macOS/$(BundleName).icns ../Resources/$(BundleName).icns ; - if $(Config) != rel { BundleSymlink = ../Resources/game ../../.. ; } + opt on main/apple_main.mm = -D__S(X)=#X -DDAGOR_MACOSX_CONTENTS=__S(../../..) ; if $(Config) = rel { CopyTo = $(OutDir)/$(BundleName) ; diff --git a/samples/dngSceneViewer/prog/jamfile b/samples/dngSceneViewer/prog/jamfile index 29ac08b8b..cfa776036 100644 --- a/samples/dngSceneViewer/prog/jamfile +++ b/samples/dngSceneViewer/prog/jamfile @@ -80,7 +80,7 @@ if $(Platform) in windows { BundleCopy = platform/macOS/$(Game).icns ../Resources/$(BundleName).icns ; - if $(Config) != rel { BundleSymlink = ../Resources/game ../../.. ; } + opt on main/apple_main.mm = -D__S(X)=#X -DDAGOR_MACOSX_CONTENTS=__S(../../..) ; if $(Config) = rel { CopyTo = $(OutDir)/$(BundleName) ;