Fixed *_EXPORTS
This commit is contained in:
parent
c25d15d1d6
commit
70ea2eef46
@ -72,9 +72,7 @@ include(GNUInstallDirsWrapper)
|
||||
include(CMakePackageConfigHelpers)
|
||||
include (SetFreeRDPCMakeInstallDir)
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DRDTK_EXPORTS")
|
||||
endif()
|
||||
add_definitions(-DRDTK_EXPORTS)
|
||||
|
||||
if (NOT IOS)
|
||||
check_include_files(stdbool.h WINPR_HAVE_STDBOOL_H)
|
||||
|
@ -278,7 +278,7 @@ if(BUILD_SHARED_LIBS)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINPR_DLL")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINPR_EXPORTS")
|
||||
add_definitions(-DWINPR_EXPORTS)
|
||||
|
||||
# Enable 64bit file support on linux and FreeBSD.
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" OR FREEBSD)
|
||||
|
Loading…
Reference in New Issue
Block a user