Skip to content

Commit

Permalink
Windows/mingw/python fix
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
  • Loading branch information
jeandet committed Jan 20, 2020
1 parent a6cf756 commit f0d926e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish-win.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python packages OSX
name: Python packages Windows

on: [push]

Expand Down
4 changes: 3 additions & 1 deletion cmake/pybind11.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ if (NOT pybind11_FOUND)
add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/pybind11 ${CMAKE_CURRENT_BINARY_DIR}/build_pybind11)
endif()


if(MINGW)
add_definitions(-D_hypot=hypot)
endif()

0 comments on commit f0d926e

Please sign in to comment.