Skip to content

Project doesn't compile with Ninja #22

Description

@afiskon

Steps to reproduce:

$ mkdir build
$ cd build
$ cmake -G Ninja ..
[...]
$ ninja
ninja: error: 'ext/gtest/src/googletest-build/libgtest.a', needed by 'cpp-lru-cache-test', missing and no known rule to make it

CMake version is 3.9.4, the environment is Arch Linux x64.

make compiles everything as expected. I believe something is wrong in ExternalProject_Add arguments. Unfortunately I can't give more details since I've never used ExternalProject before (I prefer git submodules).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions