mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
cmake: fixed path used in generation of docs/tests during curl build through add_subdicectory(...)
This commit is contained in:
parent
518ed51ec7
commit
f8215f80ab
@ -1,4 +1,4 @@
|
|||||||
set(MANPAGE "${CMAKE_BINARY_DIR}/docs/curl.1")
|
set(MANPAGE "${CURL_BINARY_DIR}/docs/curl.1")
|
||||||
|
|
||||||
# Load DPAGES and OTHERPAGES from shared file
|
# Load DPAGES and OTHERPAGES from shared file
|
||||||
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
||||||
|
@ -105,7 +105,8 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(${LIB_NAME} INTERFACE
|
target_include_directories(${LIB_NAME} INTERFACE
|
||||||
$<INSTALL_INTERFACE:include>)
|
$<INSTALL_INTERFACE:include>
|
||||||
|
$<BUILD_INTERFACE:${CURL_SOURCE_DIR}/include>)
|
||||||
|
|
||||||
install(TARGETS ${LIB_NAME}
|
install(TARGETS ${LIB_NAME}
|
||||||
EXPORT libcurl-target
|
EXPORT libcurl-target
|
||||||
|
@ -50,10 +50,10 @@ endif()
|
|||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT lib1521.c
|
OUTPUT lib1521.c
|
||||||
COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl < ${CMAKE_SOURCE_DIR}/include/curl/curl.h > lib1521.c
|
COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl < ${CURL_SOURCE_DIR}/include/curl/curl.h > lib1521.c
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl"
|
"${CMAKE_CURRENT_SOURCE_DIR}/mk-lib1521.pl"
|
||||||
"${CMAKE_SOURCE_DIR}/include/curl/curl.h"
|
"${CURL_SOURCE_DIR}/include/curl/curl.h"
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
|
|
||||||
set_property(TARGET chkdecimalpoint
|
set_property(TARGET chkdecimalpoint
|
||||||
|
Loading…
Reference in New Issue
Block a user