mirror of https://github.com/FreeRDP/FreeRDP
wfreerdp: fix build on Windows
This commit is contained in:
parent
1931c0d241
commit
b97b40a91e
|
@ -21,6 +21,10 @@ set(MODULE_PREFIX "WINPR_FILE")
|
|||
set(${MODULE_PREFIX}_SRCS
|
||||
file.c)
|
||||
|
||||
if(MSVC AND (NOT MONOLITHIC_BUILD))
|
||||
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
|
||||
endif()
|
||||
|
||||
if(MONOLITHIC_BUILD)
|
||||
add_library(${MODULE_NAME} OBJECT ${${MODULE_PREFIX}_SRCS})
|
||||
else()
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
LIBRARY "libwinpr-file"
|
||||
EXPORTS
|
|
@ -23,6 +23,10 @@ set(${MODULE_PREFIX}_SRCS
|
|||
registry_reg.h
|
||||
registry.c)
|
||||
|
||||
if(MSVC AND (NOT MONOLITHIC_BUILD))
|
||||
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
|
||||
endif()
|
||||
|
||||
if(MONOLITHIC_BUILD)
|
||||
add_library(${MODULE_NAME} OBJECT ${${MODULE_PREFIX}_SRCS})
|
||||
else()
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
LIBRARY "libwinpr-registry"
|
||||
EXPORTS
|
Loading…
Reference in New Issue