EMsoft-org / EMsoftSuperbuild

EMsoft SDK super build
8 stars 41 forks source link

Remove nested include #14

Closed hakonanes closed 5 years ago

hakonanes commented 5 years ago

I know little about CMake... but this nested include statement in Jsonfortran.cmake

# This is need to figure out the proper install dir for some Linux distributions
include(include(GNUInstallDirs))

yields this

-- External Project: jsonfortran
CMake Error at projects/JsonFortran.cmake:7 (include):
  include called with invalid argument: GNUInstallDirs
Call Stack (most recent call first):
  CMakeLists.txt:176 (include)

Builds fine without the nested include. Thus this tiny PR.

Signed-off-by: Håkon Wiik Ånes hwaanes@gmail.com