'What is the default search path for find_package in windows using cmake?

I am porting some code over to windows and my cmake checks for the package Libavahi using

find_package(Libavahi)

I have the headers, dll, etc. but I'm not sure where to place these such that cmake will find them.

Where can I put these files to be found by cmake? They're in a folder called usr.

I see that the module path is specified using:

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")

but I'm wondering if there is a default location that will be searched as well



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source