diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-06-07 10:26:13 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-07 10:26:13 +0200 |
commit | e280111b52c63d7fb3407ab1f20e9af726f7b29a (patch) | |
tree | dd4069eb939ed6c46a370de73f128632ba45a42f /src | |
parent | 0e8227a6261704b4deb5d7ddd5cbb90d0eb28e04 (diff) | |
download | cmocka-e280111b52c63d7fb3407ab1f20e9af726f7b29a.tar.gz cmocka-e280111b52c63d7fb3407ab1f20e9af726f7b29a.tar.xz cmocka-e280111b52c63d7fb3407ab1f20e9af726f7b29a.zip |
cmake: Do not change the static name on Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 51a3b21..c1c8c4f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -95,6 +95,15 @@ if (WITH_STATIC_LIB) cmocka ) + if (NOT WIN32) + set_target_properties( + ${CMOCKA_STATIC_LIBRARY} + PROPERTIES + OUTPUT_NAME + cmocka + ) + endif() + install( TARGETS ${CMOCKA_STATIC_LIBRARY} DESTINATION ${LIB_INSTALL_DIR} |