Skip to content

Commit

Permalink
Merge pull request #92 from pfxuan/fix-nvcc-warning-20012
Browse files Browse the repository at this point in the history
Fix nvcc warning (#20012-D)
  • Loading branch information
pierotofy committed May 9, 2024
2 parents e861818 + f8acd65 commit cf9ae4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()
# Suppress warning #20012-D (nvcc and glm)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -diag-suppress=20012)

include(FetchContent)
FetchContent_Declare(nlohmann_json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.zip
Expand Down

0 comments on commit cf9ae4f

Please sign in to comment.