From f5106362b82b035dcd8e487d755316e886de3440 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 23 11月 2019 22:48:18 +0800
Subject: [PATCH] signature verified, tests

---
 cmake/Findlcc.cmake |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/cmake/Findlcc.cmake b/cmake/Findlcc.cmake
index 728908c..48c02a4 100644
--- a/cmake/Findlcc.cmake
+++ b/cmake/Findlcc.cmake
@@ -49,7 +49,7 @@
 if(LCC_LOCATION)
 	# First search the PATH and specific locations.
 	find_program(LCC_EXECUTABLE
-	  NAMES ${lcc_names} HINTS ${LCC_LOCATION} DOC "lcc command line client")
+	NAMES ${lcc_names} HINTS ${LCC_LOCATION} DOC "lcc command line client")
 	FIND_PACKAGE_HANDLE_STANDARD_ARGS(lcc FOUND_VAR LCC_FOUND
                                        REQUIRED_VARS LCC_EXECUTABLE 
                                        FAIL_MESSAGE "Error finding lcc executable. variable LCC_LOCATION non set correctly.")
@@ -78,7 +78,6 @@
 		endif()
 		add_subdirectory("${PROJECT_SOURCE_DIR}/extern/license-generator")
 	ENDIF(NOT lcc_FOUND)
-	set(LCC_EXECUTABLE $<TARGET_FILE:license_generator::lcc>)
 ENDIF(LCC_LOCATION)
 
 

--
Gitblit v1.9.1