Created
February 18, 2016 20:49
-
-
Save mikadou/2824b9e3b20b0139aec2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required( VERSION 3.0.2 ) | |
find_package( Git ) | |
message( "FindGit: ${GIT_EXECUTABLE}" ) | |
file( GLOB_RECURSE CUSTOM_GIT_EXE "$ENV{LOCALAPPDATA}/GitHub/PortableGit_*/cmd/git.exe" ) | |
message( "LocalAppData: $ENV{LOCALAPPDATA}" ) | |
message( "GLOB_RECURSE: ${CUSTOM_GIT_EXE}" ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment