Skip to content

Commit

Permalink
Don't install fmt and backward.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Mar 1, 2024
1 parent 3bb39d2 commit 0853ea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ endif()
cpp_cc_git_submodule(eigen)
# We could have fmt incoming from NEURON
if(NOT TARGET fmt)
cpp_cc_git_submodule(fmt BUILD PACKAGE fmt REQUIRED)
cpp_cc_git_submodule(fmt BUILD EXCLUDE_FROM_ALL PACKAGE fmt REQUIRED)
endif()
# If we're building from the submodule, make sure we pass -fPIC so that we can link the code into a
# shared library later.
Expand Down Expand Up @@ -133,7 +133,7 @@ endif()
cpp_cc_git_submodule(spdlog BUILD PACKAGE spdlog REQUIRED)

if(NMODL_ENABLE_BACKWARD)
cpp_cc_git_submodule(backward BUILD PACKAGE backward REQUIRED)
cpp_cc_git_submodule(backward BUILD EXCLUDE_FROM_ALL PACKAGE backward REQUIRED)
endif()

# =============================================================================
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ include_directories(${PYBIND11_INCLUDE_DIR} ${PYTHON_INCLUDE_DIRS})
add_executable(nmodl main.cpp)
target_link_libraries(
nmodl
PRIVATE
CLI11::CLI11
printer
codegen
Expand Down

0 comments on commit 0853ea1

Please sign in to comment.