diff --git a/CMakeLists.txt b/CMakeLists.txt index ac4aaf2..926fb48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,2 +1,7 @@ add_library(cryptoppwin SHARED IMPORTED GLOBAL) -set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlib.lib") \ No newline at end of file + +if(CMAKE_BUILD_TYPE STREQUAL "Debug") + set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlibd.lib") +else() + set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlib.lib") +endif() \ No newline at end of file diff --git a/lib/cryptlib.lib b/lib/cryptlib.lib index 0fd0552..446c5e2 100644 Binary files a/lib/cryptlib.lib and b/lib/cryptlib.lib differ diff --git a/lib/cryptlibd.lib b/lib/cryptlibd.lib new file mode 100644 index 0000000..e6173dc Binary files /dev/null and b/lib/cryptlibd.lib differ