]> granicus.if.org Git - libevent/commitdiff
Add postfix for Debug configuration.
authorHaowei Hsu <71438617+hwhsu1231@users.noreply.github.com>
Fri, 29 Jul 2022 12:49:35 +0000 (20:49 +0800)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sun, 7 Aug 2022 09:14:40 +0000 (11:14 +0200)
CMakeLists.txt

index 799673deac2ba8a79b1488d4ae6614d095bc3a19..a4529032faaa3e1d12e8d5383c82a3f784487aed 100644 (file)
@@ -37,6 +37,8 @@ if(NOT CMAKE_BUILD_TYPE)
 endif()
 string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
 
+set(CMAKE_DEBUG_POSTFIX d CACHE STRING "Debug library postfix" FORCE)
+
 set(EVENT__LIBRARY_TYPE DEFAULT CACHE STRING
     "Set library type to SHARED/STATIC/BOTH (default SHARED for MSVC, otherwise BOTH)")