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_DIR
Environment variable
DiskuvOCamlMSYS2Dir
DkML's MSYS2 by locating its
dkmlvars.cmake
script in the standard DkML locationAt this point, a
message(FATAL_ERROR)
will be raised ifREQUIRED_ON_WINDOWS
flag was used
Result Variables¶
DKSDKMSYS2_RESOLVED_DIR
The full path to the MSYS2 installation.
Example:
C:/msys64
For non-Windows platforms, this variable will be empty.
DKSDKMSYS2_RESOLVED_NATIVEDIR
The full path, in native format (ex.
C:\\msys64
on Windows), of the MSYS2 installation.For non-Windows platforms, this variable will be empty.