summaryrefslogtreecommitdiff
path: root/Meta/CMake/ca_certificates_data.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/CMake/ca_certificates_data.cmake')
-rw-r--r--Meta/CMake/ca_certificates_data.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/CMake/ca_certificates_data.cmake b/Meta/CMake/ca_certificates_data.cmake
index 6265d416af..7d18641918 100644
--- a/Meta/CMake/ca_certificates_data.cmake
+++ b/Meta/CMake/ca_certificates_data.cmake
@@ -14,7 +14,7 @@ if (ENABLE_CACERT_DOWNLOAD)
download_file("${CACERT_URL}" "${CACERT_PATH}/${CACERT_FILE}")
- if (SERENITYOS)
+ if (NOT "${CMAKE_STAGING_PREFIX}" STREQUAL "")
set(CACERT_INSTALL_PATH ${CMAKE_STAGING_PREFIX}/etc/${CACERT_INSTALL_FILE})
else()
set(CACERT_INSTALL_PATH ${CMAKE_CURRENT_BINARY_DIR}/${CACERT_INSTALL_FILE})