| set(CMAKE_FIND_ROOT_PATH ${CMAKE_CURRENT_LIST_DIR}/DebugRoot/NoExist ${CMAKE_CURRENT_LIST_DIR}/DebugRoot/Exist) | |
| set(CMAKE_FIND_DEBUG_MODE ON) | |
| find_package(DebugRoot | |
| NO_DEFAULT_PATH | |
| NO_PACKAGE_ROOT_PATH | |
| NO_CMAKE_PATH | |
| NO_CMAKE_ENVIRONMENT_PATH | |
| NO_SYSTEM_ENVIRONMENT_PATH | |
| NO_CMAKE_PACKAGE_REGISTRY | |
| NO_CMAKE_SYSTEM_PATH | |
| NO_CMAKE_INSTALL_PREFIX | |
| NO_CMAKE_SYSTEM_PACKAGE_REGISTRY | |
| PATHS /DebugRoot | |
| ) | |
| set(CMAKE_FIND_DEBUG_MODE OFF) |