Skip to content

Commit

Permalink
Allow compiling with MSVC-compatible compilers, i.e. clang-cl (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
goedderz authored Jan 31, 2022
1 parent ad1489e commit 9ca67ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if (WITH_PYTHON)
find_package(Python3 COMPONENTS Interpreter Development)
endif()

if (WIN32)
if (MSVC)
# Use unsigned characters
add_definitions(-J)
# Make sure cmath header defines things like M_PI
Expand Down

0 comments on commit 9ca67ff

Please sign in to comment.