Skip to content

Use target commands to specify include directories in ReSolve #15

@pelesh

Description

@pelesh

Currently ReSolve's root CMake file contains line setting:

include_directories(${CMAKE_SOURCE_DIR})

This specifies source directory as the build include directory. This should not be necessary as each ReSolve target already specifies include directories (both for build and installation). However, without this option set, CMake does not add correct include lines to the make files it generates.

It is unclear why is this happening. This also could be a bug in CMake. This needs to be further investigated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions