diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-08-13 15:24:46 -0700 |
---|---|---|
committer | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-22 16:30:59 -0700 |
commit | 1d8989a959c2a555f106022fd9a017f5b640eda9 (patch) | |
tree | 5da1252cfce0cbdd7fcf78ef075a479bf9575525 /cmake | |
parent | 013a0fb7fe918d707604690a96ef6c0559af7440 (diff) |
cmake: Add module finder for SymFPU.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindSymFPU.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/FindSymFPU.cmake b/cmake/FindSymFPU.cmake new file mode 100644 index 000000000..6d165e16a --- /dev/null +++ b/cmake/FindSymFPU.cmake @@ -0,0 +1,12 @@ +# Find SymFPU +# SymFPU_FOUND - system has SymFPU lib +# SymFPU_INCLUDE_DIR - the SymFPU include directory + +find_path(SymFPU_INCLUDE_DIR + NAMES symfpu/core/unpackedFloat.h + PATHS "${PROJECT_SOURCE_DIR}/symfpu-CVC4") + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(SymFPU DEFAULT_MSG SymFPU_INCLUDE_DIR) + +mark_as_advanced(SymFPU_INCLUDE_DIR) |