CMake build: force-link SDBM lib into SDBM unit tests
authorAlex Zinenko <zinenko@google.com>
Tue, 21 May 2019 15:56:38 +0000 (08:56 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 02:54:53 +0000 (19:54 -0700)
commit6aae7b2e9ade69b6060586c438931258173b73b8
tree0252eecaedafbf54a80f943c7640472f9b796c19
parent3b500c694decc6bbe2846bd4a1c0e58bba6c1c12
CMake build: force-link SDBM lib into SDBM unit tests

    Otherwise, GCC < 7 does not link in the dialect registration, fails to look up
    the dialect in the context and cannot construct SDBM objects.

--

PiperOrigin-RevId: 249259758
mlir/unittests/SDBM/CMakeLists.txt