mirror of
https://github.com/curl/curl.git
synced 2026-04-24 12:32:16 +03:00
cmake: use CMAKE_INSTALL_INCLUDEDIR indirection
Reviewed-by: Sergei Nikulov Closes #6440
This commit is contained in:
parent
fb98a436a7
commit
811acd1a08
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue