Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Asteborg <maastebo@microsoft.com>2020-03-27 09:13:04 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2020-04-21 05:47:55 +0300
commite780645120a3bf3e04d4eb6c6c06194ed6505429 (patch)
tree951c147a200b0a5d09aa403925759741ae291377 /CMakeLists.txt
parent6adac61a1e329e9296754c56f437f6ea9df1fedf (diff)
cmake - add CPack and default to TGZ package
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba86939a..1fd40e74 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -336,6 +336,8 @@ if(OPUS_INSTALL_PKG_CONFIG_MODULE)
endif()
if(OPUS_INSTALL_CMAKE_CONFIG_MODULE)
+ set(CPACK_GENERATOR TGZ)
+ include(CPack)
set(CMAKE_INSTALL_PACKAGEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
install(EXPORT OpusTargets
NAMESPACE Opus::