diff options
| -rw-r--r-- | ecp5/family.cmake | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/ecp5/family.cmake b/ecp5/family.cmake index 461fed4f..679325b2 100644 --- a/ecp5/family.cmake +++ b/ecp5/family.cmake @@ -2,11 +2,11 @@  set(devices 25k 45k 85k)  if (NOT DEFINED TRELLIS_ROOT) -    message(FATAL_ERROR "you must define TRELLIS_ROOT using -DTRELLIS_ROOT=/path/to/prjtrellis for ECP5 support") +    message(STATUS "TRELLIS_ROOT not defined using -DTRELLIS_ROOT=/path/to/prjtrellis. Default to /usr/local/share/trellis") +    set(TRELLIS_ROOT "/usr/local/share/trellis")  endif() - -file( GLOB found_pytrellis ${TRELLIS_ROOT}/libtrellis/pytrellis.*) +file(GLOB found_pytrellis ${TRELLIS_ROOT}/libtrellis/pytrellis.*)  if ("${found_pytrellis}" STREQUAL "")      message(FATAL_ERROR "failed to find pytrellis library in ${TRELLIS_ROOT}/libtrellis/") | 
