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 32
|
From c994d58a7d0988b9e208cc1181fe6a4f4590798a Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Mon, 7 Jan 2019 16:47:43 +0800
Subject: [PATCH 01/11] CMakeLists.txt: add missing install command
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 365b835b0df6..9ad17937922a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,6 +122,7 @@ configure_file (
"${PROJECT_SOURCE_DIR}/config.h.in"
"${PROJECT_BINARY_DIR}/config.h"
)
+include_directories(${PROJECT_BINARY_DIR})
add_subdirectory(willuslib)
add_subdirectory(k2pdfoptlib)
@@ -130,6 +131,7 @@ add_subdirectory(k2pdfoptlib)
add_executable(k2pdfopt k2pdfopt.c)
target_link_libraries (k2pdfopt k2pdfoptlib willuslib ${K2PDFOPT_LIB} pthread)
+install(TARGETS k2pdfopt RUNTIME DESTINATION bin)
message("")
message("-- Summary --")
--
2.43.0
|