aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-09-26 17:52:06 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-09-27 13:32:36 +0200
commite1378cef7ca6f22175671fa3af300bc6da496988 (patch)
tree5c6c6226137fe623d9bd9842ef92446a845391f4 /src
parent12c5ea19c33363454365094e72e58f8b7bccce64 (diff)
downloadcmocka-e1378cef7ca6f22175671fa3af300bc6da496988.tar.gz
cmocka-e1378cef7ca6f22175671fa3af300bc6da496988.tar.xz
cmocka-e1378cef7ca6f22175671fa3af300bc6da496988.zip
cmake: Specify ARCHIVE DESTINATION for cmocka library on Windows
This is needed to correctly install the dll on Windows
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 035ef57..49c9205 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -74,6 +74,8 @@ endif (NOT WIN32)
install(TARGETS
${CMOCKA_SHARED_LIBRARY}
+ ARCHIVE DESTINATION
+ ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION
${CMAKE_INSTALL_LIBDIR}
COMPONENT