From ecd2f38f3d9c8b28aaa4c47bc09789f11dcaa7f7 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 29 11月 2020 11:19:33 +0800
Subject: [PATCH] fix documentation warnings and broken links

---
 CMakeLists.txt |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1e7141a..b85bc2f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,8 +6,8 @@
 SET(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
 
 IF(NOT LCC_PROJECT_NAME)
-	message(WARNING "You should define a variable LCC_PROJECT_NAME containing the name of the software you want to add a license to."
-		"A mock product named DEFAULT has been added for you.")
+	message(STATUS "You should define a variable LCC_PROJECT_NAME containing the name of the software you want to add a license to."
+		"A mock project named DEFAULT has been added for you.")
 	set(LCC_PROJECT_NAME "DEFAULT" CACHE STRING "Project name (name of the software for which you want to issue a license)") 
 ENDIF(NOT LCC_PROJECT_NAME)
 
@@ -46,7 +46,7 @@
 
 if(UNIX) #this is true for all the linux systems but not for cross compiling "linux->windows"
 	IF(${STATIC_RUNTIME})
-		set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static ")
+		set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
 	ENDIF(${STATIC_RUNTIME})
 	IF(NOT OPENSSL_FOUND)
 		MESSAGE(SEND_ERROR "Openssl required in Linux, please install it or specify -DOPENSSL_ROOT")
@@ -57,7 +57,7 @@
   		list(APPEND EXTERNAL_LIBS "-pthread")
 	else(THREADS_HAVE_PTHREAD_ARG)
 		if(CMAKE_THREAD_LIBS_INIT)
-  			 list(APPEND EXTERNAL_LIBS "${CMAKE_THREAD_LIBS_INIT} ")
+  			 list(APPEND EXTERNAL_LIBS "${CMAKE_THREAD_LIBS_INIT}")
 		endif()
 	endif(THREADS_HAVE_PTHREAD_ARG)
 
@@ -65,7 +65,7 @@
 	IF(OPENSSL_VERSION VERSION_LESS_EQUAL 1.0.2)
 		SET ( ZLIB_USE_STATIC_LIBS ON ) 
 		find_package(ZLIB REQUIRED)
-		list(APPEND EXTERNAL_LIBS " ${ZLIB_LIBRARIES}")
+		list(APPEND EXTERNAL_LIBS "${ZLIB_LIBRARIES}")
 		MESSAGE(STATUS "Found zlib version ${ZLIB_VERSION_STRING} - licensecc")
 	ELSE(OPENSSL_VERSION VERSION_LESS_EQUAL 1.0.2)
 	    MESSAGE(STATUS "openssl ${OPENSSL_VERSION} zlib not required - licensecc")

--
Gitblit v1.9.1