diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-04-30 07:38:35 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-04-30 19:50:32 +1000 |
commit | 35b70259b633f76dc802f3e89aa3e253481e9d6e (patch) | |
tree | 36c60c853083c46e45c53aa9b49d24f35ade0aa5 /cmake | |
parent | 30730ac5e4b6d5e746c33f053893bff278cc5445 (diff) |
[cmake] use DEPENDS_PATH for install for non cmake dep build systems
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindDav1d.cmake | 2 | ||||
-rw-r--r-- | cmake/modules/FindFstrcmp.cmake | 2 | ||||
-rw-r--r-- | cmake/modules/FindSpdlog.cmake | 2 | ||||
-rw-r--r-- | cmake/modules/FindUdfread.cmake | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cmake/modules/FindDav1d.cmake b/cmake/modules/FindDav1d.cmake index 4dfbd9410b..9e91a61395 100644 --- a/cmake/modules/FindDav1d.cmake +++ b/cmake/modules/FindDav1d.cmake @@ -24,7 +24,7 @@ if(ENABLE_INTERNAL_DAV1D) set(CONFIGURE_COMMAND ${MESON_EXECUTABLE} --buildtype=release --default-library=static - --prefix=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR} + --prefix=${DEPENDS_PATH} --libdir=lib -Denable_asm=true -Denable_tools=false diff --git a/cmake/modules/FindFstrcmp.cmake b/cmake/modules/FindFstrcmp.cmake index 1b7cc93399..d2625f1020 100644 --- a/cmake/modules/FindFstrcmp.cmake +++ b/cmake/modules/FindFstrcmp.cmake @@ -21,7 +21,7 @@ if(ENABLE_INTERNAL_FSTRCMP) find_program(AUTORECONF autoreconf REQUIRED) set(CONFIGURE_COMMAND ${AUTORECONF} -vif - COMMAND ./configure --prefix ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}) + COMMAND ./configure --prefix ${DEPENDS_PATH}) set(BUILD_COMMAND make lib/libfstrcmp.la) set(BUILD_IN_SOURCE 1) set(INSTALL_COMMAND make install-libdir install-include) diff --git a/cmake/modules/FindSpdlog.cmake b/cmake/modules/FindSpdlog.cmake index 15503546f7..ae5c68aedb 100644 --- a/cmake/modules/FindSpdlog.cmake +++ b/cmake/modules/FindSpdlog.cmake @@ -42,7 +42,7 @@ if(ENABLE_INTERNAL_SPDLOG) -DSPDLOG_BUILD_TESTS=OFF -DSPDLOG_BUILD_BENCH=OFF -DSPDLOG_FMT_EXTERNAL=ON - -DCMAKE_PREFIX_PATH=${prefix} + -DCMAKE_PREFIX_PATH=${DEPENDS_PATH} "${EXTRA_ARGS}") BUILD_DEP_TARGET() diff --git a/cmake/modules/FindUdfread.cmake b/cmake/modules/FindUdfread.cmake index 19745e2478..49ec2b4562 100644 --- a/cmake/modules/FindUdfread.cmake +++ b/cmake/modules/FindUdfread.cmake @@ -23,7 +23,7 @@ if(ENABLE_INTERNAL_UDFREAD) ./configure --enable-static --disable-shared - --prefix=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}) + --prefix=${DEPENDS_PATH}) set(BUILD_IN_SOURCE 1) BUILD_DEP_TARGET() |