[xc7] Try again

This commit is contained in:
Eddie Hung 2019-01-10 12:23:12 -08:00
parent 940843f7f3
commit 74e84cf65e

View File

@ -23,11 +23,11 @@ if (NOT DEFINED TORC_ROOT)
COMMAND $(MAKE) > /dev/null 2> /dev/null
COMMENT "Building torc (may take some time...)"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/torc/src)
find_package(Boost REQUIRED COMPONENTS serialization iostreams ${boost_libs} ${boost_python_lib})
set(TORC_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/torc)
endif()
find_package(Boost REQUIRED COMPONENTS regex ${boost_libs} ${boost_python_lib})
target_compile_definitions(nextpnr-${family} PRIVATE -DTORC_ROOT="${TORC_ROOT}")
target_include_directories(nextpnr-${family} PUBLIC ${TORC_ROOT}/src)
if (BUILD_TESTS)