diff --git a/.github/workflows/debug_mac_arm.yml b/.github/workflows/debug_mac_arm.yml index b66c41e9b2c..39ba96e829c 100644 --- a/.github/workflows/debug_mac_arm.yml +++ b/.github/workflows/debug_mac_arm.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: build deps & slicer - run: ./BuildMacOS.sh -ia + run: ./BuildMacOS.sh -bia - name: Upload artifact uses: actions/upload-artifact@v1.0.0 with: diff --git a/cmake/modules/FindNLopt.cmake b/cmake/modules/FindNLopt.cmake index 912ce8d30a3..d5ab8ec420c 100644 --- a/cmake/modules/FindNLopt.cmake +++ b/cmake/modules/FindNLopt.cmake @@ -28,7 +28,7 @@ if(NOT NLopt_DIR) set(NLopt_FOUND TRUE) - set(_NLopt_LIB_NAMES "nlopt") + set(_NLopt_LIB_NAMES "nlopt" "nloptd") find_library(NLopt_LIBS NAMES ${_NLopt_LIB_NAMES}) if(NOT NLopt_LIBS)