You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vpr/CMakeLists.txt
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,20 @@ if(${VPR_ANALYTIC_PLACE})
92
92
endif(TARGET Eigen3::Eigen)
93
93
endif()
94
94
95
+
if (${VPR_ENABLE_NOC_SAT_ROUTING})
96
+
message(STATUS"VPR NoC SAT Routing: Requested")
97
+
find_package(ortools CONFIG REQUIRED)
98
+
if (TARGET ortools::ortools)
99
+
message(STATUS"VPR NoC SAT Routing dependency (or-tools): Found")
100
+
message(STATUS"VPR NoC SAT Routing: Enabled")
101
+
target_link_libraries(libvpr ortools::ortools)
102
+
target_compile_definitions(libvpr PUBLIC -DENABLE_NOC_SAT_ROUTING)
103
+
else ()
104
+
message(STATUS"VPR NoC SAT Routing dependency (or-tools): Not Found (You may need to set CMAKE_PREFIX_PATH in order for CMake to find your OR-Tools installation)")
105
+
message(STATUS"VPR NoC SAT Routing: Disabled")
106
+
endif (TARGET ortools::ortools)
107
+
endif ()
108
+
95
109
set_target_properties(libvpr PROPERTIES PREFIX"") #Avoid extra 'lib' prefix
0 commit comments