Skip to content

OpenEXRSetup.cmake sets CMAKE_DEBUG_POSTFIX #1981

Open
@Debitsch-Faro

Description

@Debitsch-Faro

The OpenEXRSetup.cmake scripts sets the CMAKE_DEBUG_POSTFIX even if it is subproject. This overwrites the settings of the parent project and may cause problems the the cmake configuration.

Other cmake projects use a guard to avoid this. Something like
if (NOT CMAKE_DEBUG_POSTFIX)
set(CMAKE_DEBUG_POSTFIX "_d" CACHE STRING "Suffix for debug builds")
endif()

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildA problem with building or installing the library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions