Skip to content

Commit

Permalink
Try without Py_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Jan 22, 2024
1 parent ca4655d commit b26c81a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmake/ygg_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ set(PYTHON_PREFIX Python3)
# TODO: Use this in specialized cmake method for locating python

if (RAPIDJSON_CHECK_PYREFS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPy_DEBUG -DRAPIDJSON_CHECK_PYREFS")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DRAPIDJSON_CHECK_PYREFS")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPy_DEBUG")
endif()

if(NOT WIN32)
Expand Down
2 changes: 1 addition & 1 deletion rapidjson

0 comments on commit b26c81a

Please sign in to comment.