cmake: use libsuffix on gmxapi as well
authorChristoph Junghans <junghans@votca.org>
Sat, 7 Mar 2020 23:33:40 +0000 (16:33 -0700)
committerChristoph Junghans <junghans@votca.org>
Sat, 7 Mar 2020 23:42:05 +0000 (16:42 -0700)
Related to #3408

Change-Id: I2f5648321bdea1f1d564b738783092a709429fa8

src/api/cpp/CMakeLists.txt

index f22edbbbe84dac8c318a03b264c99798810bb46d..ffbf907db67aabab7b5d3b47e31136db0abfe642 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2018,2019, by the GROMACS development team, led by
+# Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -104,6 +104,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
 endif()
 
 set_target_properties(gmxapi PROPERTIES
+                      OUTPUT_NAME "gmxapi${GMX_LIBS_SUFFIX}"
                       SOVERSION ${GMXAPI_MAJOR}
                       VERSION ${GMXAPI_RELEASE}
                       )