diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a58c3d..69c03f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,10 @@ if(MSVC) add_compile_options(/utf-8) endif() +if (APPLE) + add_compile_options(-mmacosx-version-min=10.15) +endif() + # generate release executables set(CMAKE_BUILD_TYPE "Release") diff --git a/makefile b/makefile index 7ffe405..4482512 100644 --- a/makefile +++ b/makefile @@ -295,7 +295,7 @@ clean: @ rm $(NASAL_OBJECT) .PHONY: test -test:nasal +test: @ ./nasal -t -d test/andy_gc_test.nas @ ./nasal test/argparse_test.nas @ ./nasal -e test/ascii-art.nas