Skip to content

Commit 83ebb22

Browse files
committed
Use new lambda-processor for MSVC
1 parent b2fdd96 commit 83ebb22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ configure_file("src/compile_options.h.in"
6868
"include/ur_client_library/compile_options.h")
6969

7070
if(MSVC)
71+
target_compile_options(urcl PUBLIC /Zc:lambda)
7172
target_link_libraries(urcl ws2_32)
7273
else()
7374
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")

0 commit comments

Comments
 (0)