From 66e8c7601d2c52626e4ff39f2559cff3271eb770 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 08 12月 2019 15:34:38 +0800 Subject: [PATCH] centos 7 update cmake --- 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