From 4bad96df64f15ab1324cffe696152ecd73b41c39 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Sat, 5 Sep 2015 23:42:22 +0200 Subject: [PATCH] Added linking to wingetopt --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ea04d6..07fe6d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,6 +125,10 @@ include_directories(include src) add_library(criterion SHARED ${SOURCE_FILES} ${INTERFACE_FILES}) target_link_libraries(criterion csptr dyncall_s) +if (MSVC) + target_link_libraries(criterion wingetopt) +endif () + if (HAVE_CLOCK_GETTIME) target_link_libraries(criterion rt) endif()