mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-29 20:59:47 +01:00 
			
		
		
		
	Merge pull request #2861 from glaure/master
export ZMQ_STATIC compile flag to depending projects (MSVC)
This commit is contained in:
		| @@ -772,6 +772,11 @@ if (MSVC) | |||||||
|       DEBUG_POSTFIX "${MSVC_TOOLSET}-mt-sgd-${ZMQ_VERSION_MAJOR}_${ZMQ_VERSION_MINOR}_${ZMQ_VERSION_PATCH}" |       DEBUG_POSTFIX "${MSVC_TOOLSET}-mt-sgd-${ZMQ_VERSION_MAJOR}_${ZMQ_VERSION_MINOR}_${ZMQ_VERSION_PATCH}" | ||||||
|       COMPILE_FLAGS "/DZMQ_STATIC" |       COMPILE_FLAGS "/DZMQ_STATIC" | ||||||
|       OUTPUT_NAME "libzmq") |       OUTPUT_NAME "libzmq") | ||||||
|  |  | ||||||
|  |     target_compile_definitions(libzmq-static | ||||||
|  |       PUBLIC ZMQ_STATIC | ||||||
|  |       ) | ||||||
|  |  | ||||||
|   endif() |   endif() | ||||||
| else () | else () | ||||||
|   # avoid building everything twice for shared + static |   # avoid building everything twice for shared + static | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Luca Boccassi
					Luca Boccassi