8000 allow MSVC to user autopointer with c++17 · arangodb/arangodb@4b38f0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b38f0a

Browse files
committed
allow MSVC to user autopointer with c++17
1 parent 9c91023 commit 4b38f0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ if (WIN32)
411411
set(WINDOWS TRUE)
412412
set(MSBUILD TRUE)
413413
add_definitions(-D_USE_MATH_DEFINES -DNOMINMAX)
414+
add_definitions(-D_HAS_AUTO_PTR_ETC=1) #allow autopointer even when using c++17 / required for boost and other projects
414415
elseif (UNIX AND NOT APPLE)
415416
if(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
416417
set(LINUX TRUE)

0 commit comments

Comments
 (0)
0