diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6f2519a..59b8ab83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,8 +47,8 @@ jobs: apt: cython cython3 python-pytest python3-pytest python-numpy python3-numpy python-coverage python3-coverage python-setuptools python3-setuptools libeigen3-dev doxygen doxygen-latex libboost-all-dev libtinyxml2-dev libyaml-cpp-dev macos: | cask: gfortran - brew: eigen boost tinyxml2 yaml-cpp - pip: Cython coverage pytest numpy + brew: eigen boost tinyxml2 yaml-cpp pipx + pipx: Cython coverage pytest numpy windows: | pip: Cython coverage pytest numpy github: diff --git a/CMakeLists.txt b/CMakeLists.txt index bf061c1a..23a5015c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,10 @@ include(cmake/msvc-specific.cmake) project(Tasks CXX) -if(UNIX AND NOT EMSCRIPTEN AND NOT (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm")) +if(UNIX + AND NOT EMSCRIPTEN + AND NOT (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm") +) include(CheckCXXSourceCompiles) check_cxx_compiler_flag("-msse2" SSE2_SUPPORTED) if(SSE2_SUPPORTED)