mirror of
https://github.com/rzajac/esp-drv.git
synced 2025-03-14 21:07:38 +03:00
Update CMakeLists.txt
Make sure ESPROOT is set.
This commit is contained in:
parent
4d7176fc6c
commit
929bd97e0d
@ -12,6 +12,11 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# Make sure ESPROOT environemt varaiabnle is set.
|
||||
if (NOT EXISTS $ENV{ESPROOT})
|
||||
message("The ESPROOT environment varaible is not set. Using ${HOME}/esproot.")
|
||||
set(ENV{ESPROOT} "${HOME}/esproot")
|
||||
endif()
|
||||
|
||||
# Bootstrap before call to project().
|
||||
include("$ENV{ESPROOT}/esp-cmake/ESP8266.bootstrap.cmake")
|
||||
|
Loading…
x
Reference in New Issue
Block a user