mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 03:12:05 +02:00
cmake: remove duplicate find_package
This commit is contained in:
parent
e65159163d
commit
1895755efb
@ -60,7 +60,6 @@ endfunction()
|
||||
find_package(Git)
|
||||
if(GIT_FOUND)
|
||||
if(NOT DEV_MODE)
|
||||
find_package(Git)
|
||||
function (check_submodule relative_path)
|
||||
execute_process(COMMAND git rev-parse "HEAD" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${relative_path} OUTPUT_VARIABLE localHead)
|
||||
execute_process(COMMAND git rev-parse "HEAD:${relative_path}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE checkedHead)
|
||||
|
Loading…
Reference in New Issue
Block a user