-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Expat as a subdirectory instead of external.
- This allows for a cleaner configuration. - There was a dependency on a non-existent (yet) target expatex. CMake used to issue a developer warning CMake Warning (dev) at Config.cmake/fmixml.cmake:185 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake --help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The dependency target "/home/mahge/fmi-library/build_cmake/CMakeCache.txt" of target "expatex" does not exist. This a problem for some build tools like "Ninja" which are more strict libexpat can instead be added as a subdirectory. Its build tree will be in <fmil_binary_dir>/ThirdParty/Expat/exapat-2.1.0. This also allows it to inherit common configurations (e.g. build type debug/release) from its parent FMI library settings.
- Loading branch information
Showing
2 changed files
with
9 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters