Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper CMake support #139

Closed
Quincunx271 opened this issue May 14, 2018 · 2 comments
Closed

Proper CMake support #139

Quincunx271 opened this issue May 14, 2018 · 2 comments
Milestone

Comments

@Quincunx271
Copy link

It would be nice to be able to consume this library from cmake with syntax like:

find_package(FakeIt REQUIRED)

# ...

target_link_libraries(MyTarget FakeIt::FakeIt)

Some options I know of to make this possible:

  • Write a FindFakeIt.cmake file.
  • Flesh out CMakeLists.txt to be able to build and install FakeIt
@libenike
Copy link
Contributor

I have implemented cmake support of FakeIt.
In my fork you can link FakeIt to a project by this way:

find_package(FakeIt REQUIRED)

# ...

target_link_libraries(MyTarget FakeIt::FakeIt)

Link to the pull request.
Link to a simple project which use FakeIt. Here you can find detailed building instructions for the project.

@FranckRJ
Copy link
Collaborator

FranckRJ commented Apr 1, 2023

Fixed by #192 and #311, it's already in master.

@FranckRJ FranckRJ closed this as completed Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants