  
 -include(ExternalProject)
 -externalproject_add(FMILibraryProject
--  URL https://jmodelica.org/fmil/FMILibrary-2.0.3-src.zip
--  URL_MD5 53d8edd7442c31bcd3fb56477e574845
+-  GIT_REPOSITORY https://github.com/modelon-community/fmi-library.git
+-  GIT_TAG 2.1
 -  TIMEOUT 60
 -)
 -externalproject_get_property(FMILibraryProject INSTALL_DIR)

+if (false)
+  include(ExternalProject)
+  externalproject_add(FMILibraryProject
+    URL https://jmodelica.org/fmil/FMILibrary-2.0.3-src.zip
+    URL_MD5 53d8edd7442c31bcd3fb56477e574845
+    TIMEOUT 60
+  )
+  externalproject_get_property(FMILibraryProject INSTALL_DIR)

From a2b01c8d9bd3e8f502dd96a51f8c0abbcf929559 Mon Sep 17 00:00:00 2001
From: Martin Jansa <martin.jansa@lge.com>
Date: Fri, 29 Nov 2019 19:03:46 -0800
Subject: [PATCH] CMakeLists.txt: just depend on system fmilibrary without
