diff --git a/CMakeLists.txt b/CMakeLists.txt index 2812f52..eefb700 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ option(NNITEMPLATE_WITH_INSTALL "Add install targets" ON) set (PROJECT_NAME nn-inference-template) -project (${PROJECT_NAME} VERSION 0.0.2) +project (${PROJECT_NAME} VERSION 0.0.4) # Sets the minimum macOS version if (APPLE) diff --git a/README.md b/README.md index 6b00f2b..abd0ccd 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,6 @@ This repository provides a comprehensive JUCE plugin template that demonstrates ## Build instruction -On **Apple Silicon Macs** you need to install the OpenMP library via Homebrew (``` brew install libomp ```) - **Build with CMake** ```bash diff --git a/assets/docs/install_mac.md b/assets/docs/install_mac.md index 8a0bb9d..6c9fc09 100644 --- a/assets/docs/install_mac.md +++ b/assets/docs/install_mac.md @@ -10,4 +10,4 @@ At runtime, the **nn-inference-template** ```vst3```, ```component``` and ```sta ## Shared libs -The macOS versions of the **nn-inference-template** are all bundled with the dynamic libraries for anira and the inference engines. However, on **Apple Silicon Macs** you need to install the OpenMP library via Homebrew (``` brew install libomp ```) +The macOS versions of the **nn-inference-template** are all bundled with the dynamic libraries for anira and the inference engines. diff --git a/cmake/install.cmake b/cmake/install.cmake index 6f14d4a..b1c341b 100644 --- a/cmake/install.cmake +++ b/cmake/install.cmake @@ -38,12 +38,10 @@ elseif(APPLE) if (CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64") list(APPEND OSX_RPATHS "/opt/intel/oneapi/mkl/latest/lib") elseif (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64") - list(APPEND OSX_RPATHS "/opt/homebrew/opt/libomp/lib") else() if (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64") list(APPEND OSX_RPATHS "/opt/intel/oneapi/mkl/latest/lib") elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64") - list(APPEND OSX_RPATHS "/opt/homebrew/opt/libomp/lib") else() message(FATAL_ERROR "CMAKE_OSX_ARCHITECTURES and CMAKE_HOST_SYSTEM_PROCESSOR not defined.") endif() diff --git a/modules/anira b/modules/anira index 2cd37cb..349e33a 160000 --- a/modules/anira +++ b/modules/anira @@ -1 +1 @@ -Subproject commit 2cd37cb2f7e93d2496cf01baa36e34499b26b88b +Subproject commit 349e33a0044cf55b373332799eb136bf36ed7cf1