arduino-cmake / Arduino-CMake-NG

CMake-Based framework for Arduino platforms
MIT License
138 stars 39 forks source link

Do not look at the system PATH variable when looking for libraries. #59

Closed glowmouse closed 5 years ago

glowmouse commented 5 years ago

When the Linux system path includes $(ARDUINO_SDK_PATH), CMAKE searches

$(ARDUINO_SDK_PATH)/libraries

for libraries instead of

$(ARDUINO_SDK_PATH)/hardware/arduino/avr/libraries

Adding NO_SYSTEM_ENVIRONMENT_PATH tells cmake not to consider the Linux Path when looking for files.

Fixes #58