thliebig / openEMS

openEMS is a free and open-source electromagnetic field solver using the EC-FDTD method.
http://openEMS.de
GNU General Public License v3.0
448 stars 152 forks source link

Use Boost_INCLUDE_DIRS instead of Boost_INCLUDE_DIR #67

Closed thasti closed 3 years ago

thasti commented 4 years ago

According to https://cmake.org/cmake/help/v3.0/module/FindBoost.html Boost_INCLUDE_DIR is only a cache variable, while Boost_INCLUDE_DIRS should be used. Some recent version of cmake seems to have broken the build when the cache variables are used in CMakeLists.txt.

Reported by MrHighVoltage via https://aur.archlinux.org/packages/openems-git/

thliebig commented 3 years ago

I have cherry picked you patch, somehow github does not recognize it. I close this manually.