Replies: 4 comments
-
If you've installed the library to a sub-directory of your project, you can add it to your project's cmake file directly:
and then add it to the linker list of your executable
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you, that worked! And what should I do if I installed |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's not so straight forward on windows, as there aren't default library paths like on linux/unix. This Stack Overflow answer might help: https://stackoverflow.com/questions/21314893/what-is-the-default-search-path-for-find-package-in-windows-using-cmake |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build a program that uses
tmxlite
on Windows. I built the library and everything seems to work fine, how can I allow CMake to find it? Here's my directory tree:I'm having troubles with both header files and library files. It can't find neither of them.
Beta Was this translation helpful? Give feedback.
All reactions