CMakeLists.txt 557 Bytes
Newer Older
1 2 3 4 5 6 7
SET(PREFIX_ext_pthreads "${EXTPREFIX}" )
ExternalProject_Add( ext_pthreads
	DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR}
	URL http://files.kde.org/krita/build/dependencies/pthreads-w32-2-8-0-release.tar.gz
	URL_MD5 6d30c693233b1464ef8983fedd8ccb22

	INSTALL_DIR ${PREFIX_ext_pthreads}
8
    PATCH_COMMAND ${PATCH_COMMAND} -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/pthreads-w32-2-8-0-release-20110729.diff
9 10 11 12 13 14
	CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${PREFIX_ext_pthreads} -DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE} ${GLOBAL_PROFILE}

	UPDATE_COMMAND ""
	ALWAYS 0
	DEPENDS ext_patch
)