From a98c3541b725f6bbb2e7d49201f4469d4548dac7 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 07 12月 2019 18:13:59 +0800
Subject: [PATCH] modified cmake scripts for easy export and import

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

diff --git a/cmake/Findlcc.cmake b/cmake/Findlcc.cmake
index b917f63..0f95a42 100644
--- a/cmake/Findlcc.cmake
+++ b/cmake/Findlcc.cmake
@@ -55,7 +55,7 @@
     add_executable(license_generator::lcc IMPORTED GLOBAL)                                            
 	set_property(TARGET license_generator::lcc PROPERTY IMPORTED_LOCATION ${LCC_EXECUTABLE})  
 ELSE(LCC_LOCATION)
-	find_package(lcc HINTS ${CMAKE_BINARY_DIR} 	NO_CMAKE_PATH) #try to find it without looping on this module
+	find_package(lcc HINTS ${CMAKE_BINARY_DIR} CONFIG) #try to find it without looping on this module
 
 	IF(NOT lcc_FOUND) 	
 		find_package(Git QUIET)

--
Gitblit v1.9.1