Skip to content

Missing use of CMAKE_DEBUG_POSTFIX #2121

@theirix

Description

@theirix

I did this

Build a latest 7.56.1 curl on Windows with Debug configuration and
cmake setting CMAKE_DEBUG_POSTFIX="" to avoid a -d suffix for library files.

I expected the following

I except fo find a libcurl_imp.lib file instead of libcurl-d_imp.lib.

I think the reason is that a line

DEBUG_POSTFIX "-d"
does not use the CMAKE_DEBUG_POSTFIX variable from the topmost cmakefile.

Both 7.56.1 and master branch contain this line.

curl/libcurl version

7.56.1

operating system

Windows, Visual Studio 2015, x86

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions