only add udev and xinerama on UNIX

This commit is contained in:
Stephen Birarda 2014-07-30 15:31:05 -07:00
parent f25e8b0b75
commit e702738694

View file

@ -51,8 +51,11 @@ elseif (WIN32)
endif ()
select_library_configurations(LIBOVR)
set(LIBOVR_LIBRARIES "${LIBOVR_LIBRARY}")
set(LIBOVR_LIBRARIES "${LIBOVR_LIBRARY}" "${UDEV_LIBRARY}" "${XINERAMA_LIBRARY}")
if (UNIX)
set(LIBOVR_LIBRARIES "${LIBOVR_LIBRARIES}" "${UDEV_LIBRARY}" "${XINERAMA_LIBRARY}"
endif ()
include(FindPackageHandleStandardArgs)
if (UNIX AND NOT APPLE)