Skip to content

Commit 1040ab0

Browse files
Release 4.2.2
Updated lib/ccrush dependency to 2.0.5 and modified CMakeLists.txt to append major version number to .DLL files on Windows.
1 parent 4cf6d16 commit 1040ab0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake" ${CMAKE_MODULE_PATH})
2020

2121
set(${PROJECT_NAME}_MAJOR 4)
2222
set(${PROJECT_NAME}_MINOR 2)
23-
set(${PROJECT_NAME}_PATCH 1)
23+
set(${PROJECT_NAME}_PATCH 2)
2424
set(${PROJECT_NAME}_VERSION_STRING "${${PROJECT_NAME}_MAJOR}.${${PROJECT_NAME}_MINOR}.${${PROJECT_NAME}_PATCH}")
2525

2626
option(ENABLE_TESTING "Build MbedTLS tests." OFF)
@@ -36,6 +36,10 @@ option(${PROJECT_NAME}_ONLY_BUILD_LIB "Don't build the pwcrypt executable, but j
3636
if (${${PROJECT_NAME}_BUILD_DLL})
3737
add_compile_definitions("PWCRYPT_BUILD_DLL=1")
3838
set(${PROJECT_NAME}_DLL ON)
39+
40+
if (WIN32)
41+
set(CMAKE_RELEASE_POSTFIX "${${PROJECT_NAME}_MAJOR}")
42+
endif()
3943
endif ()
4044

4145
if (${${PROJECT_NAME}_DLL})

include/pwcrypt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ static const uint8_t EMPTY64[64] = {
7272
/**
7373
* Current version of the used pwcrypt library.
7474
*/
75-
#define PWCRYPT_VERSION 421
75+
#define PWCRYPT_VERSION 422
7676

7777
/**
7878
* Current version of the used pwcrypt library (nicely-formatted string).
7979
*/
80-
#define PWCRYPT_VERSION_STR "4.2.1"
80+
#define PWCRYPT_VERSION_STR "4.2.2"
8181

8282
#ifndef PWCRYPT_Z_CHUNKSIZE
8383
/**

0 commit comments

Comments
 (0)