mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Merge pull request #10931 from akallabeth/manpage-fix
[client,common] fix manpage generation
This commit is contained in:
@@ -25,3 +25,4 @@ std::vector<unsigned char> @CLASSNAME@::init() {
|
||||
};
|
||||
return std::vector<unsigned char>(data, data + sizeof(data));
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,12 @@ else()
|
||||
include_directories(${CMAKE_BINARY_DIR}/include/)
|
||||
|
||||
add_executable(generate_argument_manpage generate_argument_manpage.c ../cmdline.h)
|
||||
|
||||
# Ensure we build with host compiler and no compile/link flags used by other modules.
|
||||
set_target_properties(
|
||||
generate_argument_manpage PROPERTIES COMPILE_OPTIONS "" LINK_OPTIONS "" STATIC_LIBRARY_OPTIONS ""
|
||||
)
|
||||
|
||||
export(TARGETS generate_argument_manpage FILE "${CMAKE_BINARY_DIR}/GenerateArgumentManpageConfig.cmake")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user