diff options
Diffstat (limited to 'cmake/FindSymFPU.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) |