From 8fb4393981075e8e16985e9da764ebacdf41bffc Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Thu, 14 Oct 2021 12:38:03 +0200 Subject: [PATCH] python fix --- CMakeLists.txt | 2 +- python/setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28b5883d3..0ea825033 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,7 +82,7 @@ endif() #Add two fake libraries to manage options add_library(slsProjectOptions INTERFACE) add_library(slsProjectWarnings INTERFACE) -target_compile_options(slsProjectOptions INTERFACE -std=gnu++11) +target_compile_features(slsProjectOptions INTERFACE std_cxx_11) target_compile_options(slsProjectWarnings INTERFACE -Wall -Wextra diff --git a/python/setup.py b/python/setup.py index 2e6422031..61e070e4f 100755 --- a/python/setup.py +++ b/python/setup.py @@ -25,6 +25,7 @@ ext_modules = [ Pybind11Extension( '_slsdet', ['src/main.cpp', + 'src/current.cpp', 'src/enums.cpp', 'src/detector.cpp', 'src/network.cpp',