mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[openal-soft] Fix find_package failed (#10251)
* [openal-soft] Fix find_package failed * [openal-soft] Add usage
This commit is contained in:
parent
4468d7be57
commit
33d8955807
@ -74,5 +74,6 @@ endforeach()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
4
ports/openal-soft/usage
Normal file
4
ports/openal-soft/usage
Normal file
@ -0,0 +1,4 @@
|
||||
The package openal-soft provides CMake targets:
|
||||
|
||||
find_package(OpenAL CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE OpenAL::OpenAL)
|
Loading…
x
Reference in New Issue
Block a user