Skip to content

Cmake can't find package #101

Answered by alandefreitas
HO-COOH asked this question in Q&A
Nov 22, 2020 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

https://stackoverflow.com/questions/21314893/what-is-the-default-search-path-for-find-package-in-windows-using-cmake

https://alandefreitas.github.io/matplotplusplus/integration/binary-packages.html

list(APPEND CMAKE_MODULE_PATH put/your/installation/directory/here)
find_package(Matplot++ REQUIRED)
# ...
target_link_libraries(my_target PUBLIC Matplot++::matplot)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@HO-COOH
Comment options

@HO-COOH
Comment options

@alandefreitas
Comment options

Answer selected by HO-COOH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #101 on November 22, 2020 05:36.