Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 96b8298

Browse files
nrnivmodl_core_makefile: fix SDKROOT (#845)
1 parent 9523270 commit 96b8298

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

extra/nrnivmodl_core_makefile.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ DESTDIR =
1616
TARGET_LIB_TYPE = $(BUILD_TYPE)
1717

1818
# required for OSX to execute nrnivmodl-core
19-
OSX_SYSROOT=@CMAKE_OSX_SYSROOT@
20-
ifneq ($(OSX_SYSROOT),)
21-
export SDKROOT := $(OSX_SYSROOT)
19+
ifneq ($(SDKROOT),)
20+
export SDKROOT := $(shell xcrun --sdk macosx --show-sdk-path)
2221
endif
2322

2423
# CoreNEURON installation directories

0 commit comments

Comments
 (0)