Package for pre-built binaries #41430
-
Is it possible to create a package from pre-built binaries in a way that cmake’s find_package can find it? I packaged some binaries using: file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/lib DESTINATION ${CURRENT_PACKAGES_DIR})
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/include DESTINATION ${CURRENT_PACKAGES_DIR}) However, this does not generate the cmake config files needed for “find_packake” to work. Do I have to create the config files manually or is there a way that I can make vcpkg generate them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You have to generate them manually |
Beta Was this translation helpful? Give feedback.
-
You have to generate them manually. As an example you could use: https://github.com/autoantwort/Lichtsteuerung/tree/master/overlay-ports/susbdmx |
Beta Was this translation helpful? Give feedback.
You have to generate them manually. As an example you could use: https://github.com/autoantwort/Lichtsteuerung/tree/master/overlay-ports/susbdmx