Fix according to comments on PR
This commit is contained in:
parent
73f200fe74
commit
8b0af0e48d
@ -19,8 +19,8 @@ endif()
|
|||||||
|
|
||||||
if (EXTERNAL_CHIPDB)
|
if (EXTERNAL_CHIPDB)
|
||||||
if (NOT DEFINED EXTERNAL_CHIPDB_ROOT)
|
if (NOT DEFINED EXTERNAL_CHIPDB_ROOT)
|
||||||
message(STATUS "EXTERNAL_CHIPDB_ROOT not defined using -DEXTERNAL_CHIPDB_ROOT=/path/to/nextpnr. Default to /usr/local/share/nextpnr")
|
message(STATUS "EXTERNAL_CHIPDB_ROOT not defined using -DEXTERNAL_CHIPDB_ROOT=/path/to/nextpnr. Default to /usr/share/nextpnr")
|
||||||
set(EXTERNAL_CHIPDB_ROOT "/usr/local/share/nextpnr")
|
set(EXTERNAL_CHIPDB_ROOT "/usr/share/nextpnr")
|
||||||
endif()
|
endif()
|
||||||
add_definitions("-DEXTERNAL_CHIPDB_ROOT=\"${EXTERNAL_CHIPDB_ROOT}\"")
|
add_definitions("-DEXTERNAL_CHIPDB_ROOT=\"${EXTERNAL_CHIPDB_ROOT}\"")
|
||||||
endif()
|
endif()
|
||||||
|
@ -68,4 +68,4 @@ if (NOT EXTERNAL_CHIPDB)
|
|||||||
endforeach (target)
|
endforeach (target)
|
||||||
endforeach (dev)
|
endforeach (dev)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -83,4 +83,4 @@ if (NOT EXTERNAL_CHIPDB)
|
|||||||
endforeach (target)
|
endforeach (target)
|
||||||
endforeach (dev)
|
endforeach (dev)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user