summaryrefslogtreecommitdiffstats
path: root/cmake/FindPCSCWinPR.cmake
blob: 70a53d1fd4c63f4b00b5b9e37ad62bef986839d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
find_library(PCSC_WINPR_LIBRARY
	NAMES libpcsc-winpr.a
	PATHS
		/opt/lib
		/usr/lib
		/usr/local/lib
	)

if(NOT ${PCSC_WINPR_LIBRARY} MATCHES ".*-NOTFOUND")
	set(PCSC_WINPR_FOUND 1)
	message(STATUS "Found PCSC-WinPR: ${PCSC_WINPR_LIBRARY}")
endif()

mark_as_advanced(PCSC_WINPR_LIBRARY)