diff --git a/cmake_nrnconf.h.in b/cmake_nrnconf.h.in index cb84789c33..574ee4870b 100644 --- a/cmake_nrnconf.h.in +++ b/cmake_nrnconf.h.in @@ -359,7 +359,7 @@ #include namespace neuron::config { #ifdef USE_PYTHON - constexpr std::string_view default_python_executable{"@NRN_DEFAULT_PYTHON_EXECUTABLE@"}; + constexpr std::string_view default_python_executable{R"(@NRN_DEFAULT_PYTHON_EXECUTABLE@)"}; constexpr std::array supported_python_versions{@NRN_DYNAMIC_PYTHON_LIST_OF_VERSION_STRINGS@}; #endif constexpr std::string_view shared_library_prefix{"@CMAKE_SHARED_LIBRARY_PREFIX@"};