# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.

add_executable(
    beringei_plugin_test_bin

    BeringeiConfigurationAdapterTest.cpp
    BeringeiConfigurationTest.cpp
    BeringeiConfigurationValidationTest.cpp
)

target_link_libraries(
    beringei_plugin_test_bin

    beringei_thrift
    beringei_plugin
    ${FOLLY_LIBRARIES}
    ${GTEST_HARNESS_LIBS}
    ${LIBGLOG_LIBRARY}
    ${GFLAGS_LIBRARIES}
)

add_test(
  NAME beringei_plugin_tests
  COMMAND ${CMAKE_CURRENT_BINARY_DIR}/beringei_plugin_test_bin
  WORKING_DIRECTORT ${CMAKE_SOURCE_DIR}
)

# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.

add_executable(
    beringei_plugin_test_bin

    BeringeiConfigurationAdapterTest.cpp
    BeringeiConfigurationTest.cpp
    BeringeiConfigurationValidationTest.cpp
)

target_link_libraries(
    beringei_plugin_test_bin

    beringei_thrift
    beringei_plugin
    ${FOLLY_LIBRARIES}
    ${GTEST_HARNESS_LIBS}
    ${LIBGLOG_LIBRARY}
    ${GFLAGS_LIBRARIES}
)

add_test(
  NAME beringei_plugin_tests
  COMMAND ${CMAKE_CURRENT_BINARY_DIR}/beringei_plugin_test_bin
  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)

Fix typo in CMake file
Fix typo in CMake file

Summary: Typo causes test failure

Reviewed By: mlgood

Differential Revision: D4274670

fbshipit-source-id: 0ae6083525093932a5c722aa56abde5feea84e76
