From 1098f92d35a6aa473e70a6f2e28908334fbaf716 Mon Sep 17 00:00:00 2001
From: Jan Willamowius <jan@willamowius.de>
Date: 摹曛, 18 4月 2019 00:35:32 +0800
Subject: [PATCH] don't generate new key, if key already exists

---
 CMakeLists.txt |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc755ac..49fcd95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,6 @@
 endif(CMAKE_BUILD_TYPE)
 
 if(MSVC)
-
 	SET(PLATFORM_LIBS "")
 	include(target_arch)
 	target_architecture( TARGET_ARCHITECTURE )
@@ -68,6 +67,7 @@
   SET(HAVE_64BIT_SIZE_T 0)
 endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
 
+set( Boost_USE_STATIC_LIBS ON )
 find_package(Boost 1.55.0 COMPONENTS date_time unit_test_framework program_options system filesystem)
 #set below in case of dynamic linking in debug.
 #set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:BOOST_TEST_DYN_LINK>)
@@ -125,8 +125,3 @@
   message( STATUS "Build type: " ${CMAKE_BUILD_TYPE})
 endif(CMAKE_BUILD_TYPE)
 message( STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
-if(DOXYGEN_FOUND)
-  message(STATUS "Doxygen: " ${DOXYGEN_EXECUTABLE})
-else(DOXYGEN_FOUND)
-  message(STATUS "Doxygen: not found.")
-endif(DOXYGEN_FOUND)

--
Gitblit v1.9.1