Fix according to comments on PR

This commit is contained in:
Miodrag Milanovic 2019-02-10 08:33:52 +01:00
parent 73f200fe74
commit 8b0af0e48d
3 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ endif()
if (EXTERNAL_CHIPDB)
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")
set(EXTERNAL_CHIPDB_ROOT "/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/share/nextpnr")
endif()
add_definitions("-DEXTERNAL_CHIPDB_ROOT=\"${EXTERNAL_CHIPDB_ROOT}\"")
endif()

View File

@ -68,4 +68,4 @@ if (NOT EXTERNAL_CHIPDB)
endforeach (target)
endforeach (dev)
endif()
endif()
endif()

View File

@ -83,4 +83,4 @@ if (NOT EXTERNAL_CHIPDB)
endforeach (target)
endforeach (dev)
endif()
endif()
endif()