Make libcheck optional for windows builds.

This commit is contained in:
iphydf 2018-01-16 10:45:26 +00:00
parent 0b13936ce8
commit bc58c6ea2f
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -81,8 +81,6 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
set(CHECK_FOUND TRUE) set(CHECK_FOUND TRUE)
set(CHECK_LIBRARIES ${LIBCHECK_LIBRARIES} ${LIBCOMPAT_LIBRARIES}) set(CHECK_LIBRARIES ${LIBCHECK_LIBRARIES} ${LIBCOMPAT_LIBRARIES})
message("check: ${CHECK_LIBRARIES}") message("check: ${CHECK_LIBRARIES}")
else()
message(FATAL_ERROR "check libraries not found")
endif() endif()
# pthreads # pthreads