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.
-
|
Thank you, that worked! And what should I do if I installed |
Beta Was this translation helpful? Give feedback.
-
|
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.
-
|
Thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to build a program that uses
tmxliteon 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