blob: 18616a0342f987d76093ca8fd8a4eec569e2ba2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
From b64df1afa8be8bf784e970aa47973ec420ac4381 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Thu, 7 Dec 2017 17:18:05 -0500
Subject: [PATCH] Always install executables
https://github.com/google/woff2/pull/106
---
CMakeLists.txt | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ecfbb83..29c45b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,12 +260,10 @@ generate_pkg_config ("${CMAKE_CURRENT_BINARY_DIR}/libwoff2enc.pc"
LIBRARIES woff2enc)
# Installation
-if (NOT BUILD_SHARED_LIBS)
- install(
- TARGETS woff2_decompress woff2_compress woff2_info
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
- )
-endif()
+install(
+ TARGETS woff2_decompress woff2_compress woff2_info
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+)
install(
TARGETS woff2common woff2dec woff2enc
|