mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:21:38 +08:00
22dd6ab207
* Update to version 1.1.0 * Use patch * Update version
14 lines
540 B
Diff
14 lines
540 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -42,3 +42,10 @@ endif ()
|
|
|
|
#===============================================================================
|
|
set (CMAKE_SUPPRESS_REGENERATION true)
|
|
+
|
|
+#install and export targets
|
|
+install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Config)
|
|
+export(TARGETS ${PROJECT_NAME} FILE ${PROJECT_NAME}Config.cmake)
|
|
+install(EXPORT ${PROJECT_NAME}Config DESTINATION share/AudioFile FILE ${PROJECT_NAME}Config.cmake)
|
|
+#install headers
|
|
+install(FILES AudioFile.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|