DkSDKMSYS2¶
- DkSDKMSYS2_ResolveMSYS2¶
Find and set the location of a MSYS2 installation.
DkSDKMSYS2_ResolveMSYS2( [REQUIRED_ON_WINDOWS] )
For Windows, the search is conducted in order of preference:
CMake variable
DKSDK_MSYS2_DIREnvironment variable
DiskuvOCamlMSYS2DirDkML's MSYS2 by locating its
dkmlvars.cmakescript in the standard DkML locationAt this point, a
message(FATAL_ERROR)will be raised ifREQUIRED_ON_WINDOWSflag was used
Result Variables¶
DKSDKMSYS2_RESOLVED_DIRThe full path to the MSYS2 installation.
Example:
C:/msys64For non-Windows platforms, this variable will be empty.
DKSDKMSYS2_RESOLVED_NATIVEDIRThe full path, in native format (ex.
C:\\msys64on Windows), of the MSYS2 installation.For non-Windows platforms, this variable will be empty.
