diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d4d36d..e2913cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,9 @@ option(FCES_ENABLE_OPENMP "Enable OpenMP for parallel evolution" ON) # libtorch (PyTorch C++ API) find_package(Torch REQUIRED) +if(NOT MSVC) + add_compile_definitions(_GLIBCXX_USE_CXX11_ABI=0) +endif() # OpenMP (optional, for parallel population evaluation) if(FCES_ENABLE_OPENMP)