# GPC (C) 2017-2018 Stephane Charette <stephanecharette@gmail.com>
# $Id: CMakeLists.txt 2434 2018-01-09 08:13:16Z stephane $

IF ( WIN32 )
	IF ( GPC_BIT_SIZE EQUAL 32 )

		# Several DLLs needed to make sure things work in Windows.
		FILE ( GLOB WIN32_DLLs *.dll )
		LIST ( SORT WIN32_DLLs )

		# ...and curl for Win64, obtained from https://curl.haxx.se/download.html#Win64

		INSTALL ( PROGRAMS ${WIN32_DLLs}	DESTINATION bin )
		INSTALL ( PROGRAMS curl.exe			DESTINATION bin )

	ENDIF ()
ENDIF ()
