decrypt drsuapi attributes
[wireshark-sm.git] / cmake / modules / FindChocolatey.cmake
blob81510e1628e2c62f5e2ebfd0c3f904a602896311
1 # FindChocolatey
2 # ----------
4 # This module looks for Chocolatey
6 if(WIN32)
7     if(ENV{ChocolateyInstall})
8         set(_chocolateyinstall_bin "$ENV{ChocolateyInstall}/bin")
9     endif()
11     find_path(CHOCOLATEY_BIN_PATH
12         choco.exe
13         PATHS
14             ${_chocolateyinstall_bin}
15             "$ENV{ProgramData}/chocolatey/bin"
16             C:/Chocolatey/bin
17         DOC "Chocolatey binary path"
18         NO_DEFAULT_PATH
19     )
21     mark_as_advanced(CHOCOLATEY_BIN_PATH)
22 endif()