message: In pbft only build virtual mode when needed and vice versa
diff: @@ -50,6 +50,7 @@ set(PBFT_SRC
  ${CMAKE_SOURCE_DIR}/src/consensus/pbft/libbyz/New_principal.cpp
  )
  +if(NOT ${TARGET} STREQUAL "virtual")
  add_library(libbyz.enclave STATIC ${PBFT_SRC})
  target_compile_options(libbyz.enclave PRIVATE
  -nostdinc
  @@ -65,12 +66,7 @@ target_include_directories(libbyz.enclave PRIVATE
  ${PARSED_ARGS_INCLUDE_DIRS}
  ${EVERCRYPT_INC}
  )
  -
  -add_library(libbyz.host STATIC ${PBFT_SRC})
  -target_compile_options(libbyz.host PRIVATE -stdlib=libc++)
  -set_property(TARGET libbyz.host PROPERTY POSITION_INDEPENDENT_CODE ON)
  -target_include_directories(libbyz.host PRIVATE SYSTEM ${EVERCRYPT_INC})
  -
  +endif()
  set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
  @@ -84,6 +80,11 @@ add_e2e_test(
  if(${TARGET} STREQUAL "virtual")
  + add_library(libbyz.host STATIC ${PBFT_SRC})
  + target_compile_options(libbyz.host PRIVATE -stdlib=libc++)
  + set_property(TARGET libbyz.host PROPERTY POSITION_INDEPENDENT_CODE ON)
  + target_include_directories(libbyz.host PRIVATE SYSTEM ${EVERCRYPT_INC})
  +
  set(SNMALLOC_ONLY_HEADER_LIBRARY ON)
  add_subdirectory(${CMAKE_SOURCE_DIR}/3rdparty/snmalloc EXCLUDE_FROM_ALL)
  