From 8051d5050d1a975d75cf850d72d20530b37a8a6b Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Mon, 26 Feb 2024 10:26:29 +0100 Subject: [PATCH] Revert "Do not redefine `LINK_AGAINST_PYTHON`" This reverts commit 6a6433bda7299f72f1a811b0e90577f3fe53bcae. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 26ecac480f..55e3ce3e15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ set(NMODL_EXTRA_CXX_FLAGS "" CACHE STRING "Add extra compile flags for NMODL sources") separate_arguments(NMODL_EXTRA_CXX_FLAGS) +option(LINK_AGAINST_PYTHON "Should the Python library be linked or not" ON) option(NMODL_BUILD_WHEEL "Flag to signal we are building a wheel" OFF) if(NMODL_BUILD_WHEEL) set(LINK_AGAINST_PYTHON OFF)