<p>Various CMake-related cleanups and fixes. See individual commit messages for details.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/osm2pgsql/pull/976'>https://github.com/openstreetmap/osm2pgsql/pull/976</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>CMake: Remove unused define.</li>
  <li>CMake: Show all libraries that we are building with.</li>
  <li>CMake: Remove use of rt library on Linux.</li>
  <li>CMake: Remove explicit inclusion of dl library.</li>
  <li>CMake: Cleanup config enabling/disabling tests.</li>
  <li>Only enable tests that need lua when lua support is compiled in.</li>
  <li>Update testing-related documentation to new CMake reality.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/976/files#diff-0">CMakeLists.txt</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/976/files#diff-1">CONTRIBUTING.md</a>
    (18)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/976/files#diff-2">tests/CMakeLists.txt</a>
    (15)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/976.patch'>https://github.com/openstreetmap/osm2pgsql/pull/976.patch</a></li>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/976.diff'>https://github.com/openstreetmap/osm2pgsql/pull/976.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/976?email_source=notifications&email_token=AA6353VRJUWY5RJRWFUHWWDQUEMQLA5CNFSM4JOJGF52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ3CZEQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353SN4ILXQRMJNPPXR2DQUEMQLANCNFSM4JOJGF5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353XUE52IRKBQJK46BXTQUEMQLA5CNFSM4JOJGF52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ3CZEQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/976?email_source=notifications\u0026email_token=AA6353VRJUWY5RJRWFUHWWDQUEMQLA5CNFSM4JOJGF52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ3CZEQ",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/976?email_source=notifications\u0026email_token=AA6353VRJUWY5RJRWFUHWWDQUEMQLA5CNFSM4JOJGF52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ3CZEQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>