1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 00:28:48 -05:00

cmake: use CMAKE_INSTALL_INCLUDEDIR indirection

Reviewed-by: Sergei Nikulov
Closes #6440
This commit is contained in:
Gregor Jasny 2021-01-12 14:11:07 +01:00 committed by Daniel Stenberg
parent fb98a436a7
commit 811acd1a08
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -126,7 +126,7 @@ if(WIN32)
endif()
target_include_directories(${LIB_NAME} INTERFACE
$<INSTALL_INTERFACE:include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
$<BUILD_INTERFACE:${CURL_SOURCE_DIR}/include>)
install(TARGETS ${LIB_NAME}