Skip to content

Commit

Permalink
Without DISABLE_ADD.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Oct 31, 2024
1 parent 75a25ca commit 139f7da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ if(NRN_ENABLE_NMODL OR NRN_ENABLE_CORENEURON)
set(NMODL_ENABLE_PYTHON_BINDINGS
OFF
CACHE BOOL "Enable NMODL python bindings")
nrn_add_external_project(nmodl DISABLE_ADD)
add_subdirectory(${PROJECT_SOURCE_DIR}/external/nmodl ${CMAKE_BINARY_DIR}/external/nmodl)
nrn_add_external_project(nmodl)
set(CORENRN_NMODL_BINARY ${CMAKE_BINARY_DIR}/bin/nmodl${CMAKE_EXECUTABLE_SUFFIX})
set(NMODL_TARGET_TO_DEPEND nmodl)
set(NMODL_PROJECT_BINARY_DIR ${CMAKE_BINARY_DIR}/external/nmodl)
Expand Down

0 comments on commit 139f7da

Please sign in to comment.