Export interface include directories

This commit is contained in:
Kai Pastor
2023-08-01 09:07:39 +02:00
committed by akallabeth
parent afbe16c850
commit 5ecc011c13
13 changed files with 16 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ if (WITH_LIBRARY_VERSIONING)
endif()
add_definitions(${WINPR_DEFINITIONS})
target_include_directories(${MODULE_NAME} INTERFACE $<INSTALL_INTERFACE:include/winpr${WINPR_VERSION_MAJOR}>)
target_link_libraries(${MODULE_NAME} PRIVATE ${WINPR_TOOLS_LIBS})
install(TARGETS ${MODULE_NAME} COMPONENT libraries EXPORT WinPRTargets