From 74e84cf65e0fe91668913af14d13132b2e235aad Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Thu, 10 Jan 2019 12:23:12 -0800 Subject: [PATCH] [xc7] Try again --- xc7/family.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xc7/family.cmake b/xc7/family.cmake index cf917db0..e0a93bf2 100644 --- a/xc7/family.cmake +++ b/xc7/family.cmake @@ -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)