build: remove FREERDP_MONOLITHIC_BUILD
FREERDP_MONOLITHIC_BUILD was obsolete for a while and unused
This commit is contained in:
parent
25363c05d6
commit
b8136a3769
@ -806,12 +806,9 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.10")
|
|||||||
|
|
||||||
set(FREERDP_INCLUDE_DIR "include")
|
set(FREERDP_INCLUDE_DIR "include")
|
||||||
|
|
||||||
# keep for legacy builds
|
|
||||||
set(FREERDP_MONOLITHIC_BUILD OFF)
|
|
||||||
|
|
||||||
configure_package_config_file(FreeRDPConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FreeRDPConfig.cmake
|
configure_package_config_file(FreeRDPConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FreeRDPConfig.cmake
|
||||||
INSTALL_DESTINATION ${FREERDP_CMAKE_INSTALL_DIR}
|
INSTALL_DESTINATION ${FREERDP_CMAKE_INSTALL_DIR}
|
||||||
PATH_VARS FREERDP_INCLUDE_DIR FREERDP_MONOLITHIC_BUILD)
|
PATH_VARS FREERDP_INCLUDE_DIR)
|
||||||
|
|
||||||
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/FreeRDPConfigVersion.cmake
|
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/FreeRDPConfigVersion.cmake
|
||||||
VERSION ${FREERDP_VERSION} COMPATIBILITY SameMajorVersion)
|
VERSION ${FREERDP_VERSION} COMPATIBILITY SameMajorVersion)
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
set(FreeRDP_VERSION_MAJOR "@FREERDP_VERSION_MAJOR@")
|
set(FreeRDP_VERSION_MAJOR "@FREERDP_VERSION_MAJOR@")
|
||||||
set(FreeRDP_VERSION_MINOR "@FREERDP_VERSION_MINOR@")
|
set(FreeRDP_VERSION_MINOR "@FREERDP_VERSION_MINOR@")
|
||||||
set(FreeRDP_VERSION_REVISION "@FREERDP_VERSION_REVISION@")
|
set(FreeRDP_VERSION_REVISION "@FREERDP_VERSION_REVISION@")
|
||||||
set(FreeRDP_MONOLITHIC_BUILD "@FREERDP_MONOLITHIC_BUILD@")
|
|
||||||
|
|
||||||
set_and_check(FreeRDP_INCLUDE_DIR "@PACKAGE_FREERDP_INCLUDE_DIR@")
|
set_and_check(FreeRDP_INCLUDE_DIR "@PACKAGE_FREERDP_INCLUDE_DIR@")
|
||||||
|
|
||||||
|
@ -3,34 +3,6 @@
|
|||||||
include(EchoTarget)
|
include(EchoTarget)
|
||||||
include(CMakeParseArguments)
|
include(CMakeParseArguments)
|
||||||
|
|
||||||
macro(set_complex_link_libraries)
|
|
||||||
|
|
||||||
set(PREFIX "COMPLEX_LIBRARY")
|
|
||||||
|
|
||||||
cmake_parse_arguments(${PREFIX}
|
|
||||||
"INTERNAL"
|
|
||||||
"MODULE;VARIABLE;MONOLITHIC"
|
|
||||||
"MODULES"
|
|
||||||
${ARGN})
|
|
||||||
|
|
||||||
if(NOT DEFINED ${PREFIX}_MONOLITHIC)
|
|
||||||
set(${PREFIX}_MONOLITHIC FALSE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(${${PREFIX}_MONOLITHIC})
|
|
||||||
if(${${PREFIX}_INTERNAL})
|
|
||||||
set(${PREFIX}_LIBS)
|
|
||||||
else()
|
|
||||||
set(${PREFIX}_LIBS ${${PREFIX}_MODULE})
|
|
||||||
endif()
|
|
||||||
else()
|
|
||||||
set(${PREFIX}_LIBS ${${PREFIX}_MODULES})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(${${PREFIX}_VARIABLE} ${${${PREFIX}_VARIABLE}} ${${PREFIX}_LIBS})
|
|
||||||
|
|
||||||
endmacro(set_complex_link_libraries)
|
|
||||||
|
|
||||||
# - add a new library to a module for export
|
# - add a new library to a module for export
|
||||||
# MODULE - module the library belongs to
|
# MODULE - module the library belongs to
|
||||||
# LIBNAME - name of the library
|
# LIBNAME - name of the library
|
||||||
|
@ -164,12 +164,10 @@ if(${CMAKE_VERSION} VERSION_GREATER "2.8.10")
|
|||||||
set(WINPR_CMAKE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/WinPR")
|
set(WINPR_CMAKE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/WinPR")
|
||||||
|
|
||||||
set(WINPR_INCLUDE_DIR "include")
|
set(WINPR_INCLUDE_DIR "include")
|
||||||
# Keep this for legacy builds
|
|
||||||
set(WINPR_MONOLITHIC_BUILD OFF)
|
|
||||||
|
|
||||||
configure_package_config_file(WinPRConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/WinPRConfig.cmake
|
configure_package_config_file(WinPRConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/WinPRConfig.cmake
|
||||||
INSTALL_DESTINATION ${WINPR_CMAKE_INSTALL_DIR}
|
INSTALL_DESTINATION ${WINPR_CMAKE_INSTALL_DIR}
|
||||||
PATH_VARS WINPR_INCLUDE_DIR WINPR_MONOLITHIC_BUILD)
|
PATH_VARS WINPR_INCLUDE_DIR)
|
||||||
|
|
||||||
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/WinPRConfigVersion.cmake
|
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/WinPRConfigVersion.cmake
|
||||||
VERSION ${WINPR_VERSION} COMPATIBILITY SameMajorVersion)
|
VERSION ${WINPR_VERSION} COMPATIBILITY SameMajorVersion)
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
set(WinPR_VERSION_MAJOR "@WINPR_VERSION_MAJOR@")
|
set(WinPR_VERSION_MAJOR "@WINPR_VERSION_MAJOR@")
|
||||||
set(WinPR_VERSION_MINOR "@WINPR_VERSION_MINOR@")
|
set(WinPR_VERSION_MINOR "@WINPR_VERSION_MINOR@")
|
||||||
set(WinPR_VERSION_REVISION "@WINPR_VERSION_REVISION@")
|
set(WinPR_VERSION_REVISION "@WINPR_VERSION_REVISION@")
|
||||||
set(WinPR_MONOLITHIC_BUILD "@WINPR_MONOLITHIC_BUILD@")
|
|
||||||
|
|
||||||
set_and_check(WinPR_INCLUDE_DIR "@PACKAGE_WINPR_INCLUDE_DIR@")
|
set_and_check(WinPR_INCLUDE_DIR "@PACKAGE_WINPR_INCLUDE_DIR@")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user