Skip to content

Commit c744440

Browse files
committed
Default the debug postfix for library filenames to "d" on Windows (it may still be overridden to the empty string)
1 parent 9bea093 commit c744440

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Release/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ else()
3232
set(BUILD_SAMPLES ON CACHE BOOL "Build sample applications.")
3333
endif()
3434

35+
if(WIN32)
36+
set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Default filename postfix for libraries under configuration DEBUG")
37+
endif()
38+
3539
if(ANDROID)
3640
set(Boost_USE_STATIC_LIBS ON CACHE BOOL "Link against boost statically.")
3741
else()

0 commit comments

Comments
 (0)