Skip to content

Commit

Permalink
Disable MSVC std compliance due to PoissonRecon header error
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheorey committed Dec 11, 2024
1 parent e0ee30c commit 8112ff8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ if(WIN32)
# Then, we could use -fvisibility=hidden for Linux as well
SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
if(MSVC)
add_compile_options("/permissive-") # MSVC standards-compliant mode
# MSVC standards-compliant mode: Error in PoissonRecon 3rd party header
# add_compile_options($<$<COMPILE_LANGUAGE:CXX>:"/permissive-">)
# Make sure we don't hit the 65535 object member limit with MSVC
#
# /bigobj allows object files with more than 65535 members
Expand Down

0 comments on commit 8112ff8

Please sign in to comment.