Commit a3835b4c authored by Philip Quinn's avatar Philip Quinn

CMake: Remove redundant MSVC test.

CMake automatically patches the switch character.
parent 2db5ef63
......@@ -26,9 +26,7 @@ if(MSVC AND NOT CAPNP_LITE)
message(SEND_ERROR "Building with MSVC is only supported with CAPNP_LITE.")
endif()
if(CAPNP_LITE AND MSVC)
set(CAPNP_LITE_FLAG "/DCAPNP_LITE")
elseif(CAPNP_LITE)
if(CAPNP_LITE)
set(CAPNP_LITE_FLAG "-DCAPNP_LITE")
else()
set(CAPNP_LITE_FLAG)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment