Skip to content

Commit 01a8ac5

Browse files
committed
try to add test for vcpkg
1 parent 02f17f5 commit 01a8ac5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ endif()
149149
option(PROTO_IPM "Build ProtoIPM" OFF)
150150
message(STATUS "Build ProtoIPM: ${PROTO_IPM}")
151151

152+
if (WIN32 AND PROTO_IPM)
153+
find_package(metis CONFIG REQUIRED)
154+
add_executable(metis-test metis-test.c)
155+
target_link_libraries(metis-test PRIVATE metis)
156+
endif()
157+
152158
if (CUPDLP_GPU)
153159
if (WIN32)
154160
set(BUILD_SHARED_LIBS ON)

0 commit comments

Comments
 (0)