Замена <INSTALL_DIR> на ${CMAKE_BINARY_DIR}

This commit is contained in:
Andrei Astafev 2021-07-05 10:35:15 +03:00
parent 465ad38cb8
commit beb7bfa001
11 changed files with 12 additions and 12 deletions

View File

@ -6,7 +6,7 @@ list(APPEND _ext_project_args
cgal-widget cgal-widget
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/cgal-widget SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/cgal-widget
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libcgal-widget.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libcgal-widget.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(CgalWidgetThirdparty_FIND_COMPONENTS STREQUAL "headers") if(CgalWidgetThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -7,7 +7,7 @@ list(APPEND _ext_project_args
DEPENDS libpreprocmath libionobase myxlib DEPENDS libpreprocmath libionobase myxlib
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libfsp SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libfsp
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libfsp.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libfsp.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
-DPREPROCMATH_PREFIX=${CMAKE_BINARY_DIR} -DPREPROCMATH_PREFIX=${CMAKE_BINARY_DIR}
-DIONOBASE_PREFIX=${CMAKE_BINARY_DIR} -DIONOBASE_PREFIX=${CMAKE_BINARY_DIR}

View File

@ -6,7 +6,7 @@ list(APPEND _ext_project_args
libionobase libionobase
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libionobase SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libionobase
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libionobase.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libionobase.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(IonobaseThirdparty_FIND_COMPONENTS STREQUAL "headers") if(IonobaseThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -8,7 +8,7 @@ if(MPFR_FOUND)
INSTALL_DIR ${CMAKE_BINARY_DIR}/include INSTALL_DIR ${CMAKE_BINARY_DIR}/include
CONFIGURE_COMMAND true CONFIGURE_COMMAND true
BUILD_COMMAND true BUILD_COMMAND true
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy <SOURCE_DIR>/mpreal.h <INSTALL_DIR>) INSTALL_COMMAND ${CMAKE_COMMAND} -E copy <SOURCE_DIR>/mpreal.h ${CMAKE_BINARY_DIR})
endif() endif()
set(MPFRCPP_PREFIX ${CMAKE_BINARY_DIR} CACHE FILEPATH "" FORCE) set(MPFRCPP_PREFIX ${CMAKE_BINARY_DIR} CACHE FILEPATH "" FORCE)

View File

@ -6,7 +6,7 @@ list(APPEND _ext_project_args
myx-notifications myx-notifications
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myx-notifications SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myx-notifications
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libmyx-notifications.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libmyx-notifications.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(MyxNotificationsThirdparty_FIND_COMPONENTS STREQUAL "headers") if(MyxNotificationsThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -6,7 +6,7 @@ list(APPEND _ext_project_args
myx-qping myx-qping
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myx-qping SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myx-qping
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libmyx-qping.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libmyx-qping.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(MyxQPingThirdparty_FIND_COMPONENTS STREQUAL "headers") if(MyxQPingThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -6,7 +6,7 @@ list(APPEND _ext_project_args
myx-redis myx-redis
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myx-redis SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myx-redis
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libmyx-redis.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libmyx-redis.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(MyxRedisThirdparty_FIND_COMPONENTS STREQUAL "headers") if(MyxRedisThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -6,8 +6,8 @@ list(APPEND _ext_project_args
myxlib myxlib
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myxlib SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/myxlib
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libmyx-qt.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libmyx-qt.a
<INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libmyx-filesystem.a ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libmyx-filesystem.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(MyxlibThirdparty_FIND_COMPONENTS STREQUAL "headers") if(MyxlibThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -7,7 +7,7 @@ list(APPEND _ext_project_args
DEPENDS libpreprocmath DEPENDS libpreprocmath
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libpreproc SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libpreproc
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libpreproc.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libpreproc.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
-DPREPROCMATH_PREFIX=${CMAKE_BINARY_DIR} -DPREPROCMATH_PREFIX=${CMAKE_BINARY_DIR}
<SOURCE_DIR>) <SOURCE_DIR>)

View File

@ -6,7 +6,7 @@ list(APPEND _ext_project_args
libpreprocmath libpreprocmath
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libpreprocmath SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libpreprocmath
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libpreprocmath.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libpreprocmath.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
<SOURCE_DIR>) <SOURCE_DIR>)
if(PreprocmathThirdparty_FIND_COMPONENTS STREQUAL "headers") if(PreprocmathThirdparty_FIND_COMPONENTS STREQUAL "headers")

View File

@ -7,7 +7,7 @@ list(APPEND _ext_project_args
DEPENDS libpreprocmath DEPENDS libpreprocmath
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libsignalview SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/libsignalview
INSTALL_DIR ${CMAKE_BINARY_DIR} INSTALL_DIR ${CMAKE_BINARY_DIR}
BYPRODUCTS <INSTALL_DIR>/${CMAKE_INSTALL_LIBDIR}/libsignalview.a BYPRODUCTS ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/libsignalview.a
CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS} CMAKE_ARGS ${CMLIB_EXT_PROJ_DEFAULT_ARGS}
-DPREPROCMATH_PREFIX=${CMAKE_BINARY_DIR} -DPREPROCMATH_PREFIX=${CMAKE_BINARY_DIR}
<SOURCE_DIR>) <SOURCE_DIR>)