Now I have a lib I made my self that I want to use in another CMake c++ project. It exists in my computer like this.
${MY_LIB_PATH}include
${MY_LIB_PATH}libx86debuglib-files
${MY_LIB_PATH}libx86
eleaselib-files
${MY_LIB_PATH}libx64debuglib-files
${MY_LIB_PATH}libx64
eleaselib-files
What would a basic config file be like which makes CMake find_package
know those? I expected it would be very simple because it just doesn't have much information to provide. But this page just make my head hurt.
Sorry, I decided to copy the source code around so I don't really know which answer should be accepted.
See Question&Answers more detail:os