Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Missing "NOT" in CMakeLists.txt #129

@DanielLee343

Description

@DanielLee343

if(",${CMAKE_SOURCE_DIR}," STREQUAL ",${CMAKE_BINARY_DIR},")

According to CMake doc, CMAKE_SOURCE_DIR should be the same as CMAKE_BINARY_DIR for an in-source build. Thus, I assume the above line missed a NOT?
After I changed to this, the compile works:

if(NOT ",${CMAKE_SOURCE_DIR}," STREQUAL ",${CMAKE_BINARY_DIR},")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions