Use GMXAPI CMake option guard for gmxapi target declaration.
authorM. Eric Irrgang <mei2n@virginia.edu>
Wed, 29 Jul 2020 12:48:17 +0000 (12:48 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 29 Jul 2020 12:48:17 +0000 (12:48 +0000)
commitf19e4c64991a546726dcdce7063196afd03ecbee
tree66710f50f6f996d90452100466a48f9655578ddb
parent06c0d798af68736a62d1930b6fd661398bb1154e
Use GMXAPI CMake option guard for gmxapi target declaration.

A recent change moved the declaration of the `gmxapi` CMake library
target outside of a conditional. This change isolates the initial
configuration of the CMake target and restores the option guard.

Fixes #3604.
api/CMakeLists.txt
api/gmxapi.cmake [new file with mode: 0644]
src/CMakeLists.txt