Skip to content

Commit

Permalink
win problem
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Sep 21, 2023
1 parent bf6ebd1 commit 6c58635
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ set(ARCHFLAGS $ENV{ARCHFLAGS})
cmake_print_variables(ARCHFLAGS)
if( APPLE )
cmake_print_variables(CMAKE_OSX_ARCHITECTURES)
elseif( WIN32 )
# When building using a Python not compiled with the same compiler,
# we then need to add this definition to pybass a Cython problem
# See https://github.com/cython/cython/issues/3405
add_definitions(MS_WIN64)
endif()

list(POP_BACK CMAKE_MESSAGE_INDENT)
Expand Down

0 comments on commit 6c58635

Please sign in to comment.