From f2f4cadc727276c267358679f0e8ec554f09e2b3 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Fri, 2 Aug 2019 10:51:35 +0800 Subject: [PATCH] mkdir sqlite include directory Former-commit-id: 10916354e7c5d9fcac97eee522f15e900613d59b --- cpp/cmake/ThirdPartyPackages.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cpp/cmake/ThirdPartyPackages.cmake b/cpp/cmake/ThirdPartyPackages.cmake index 9b90aca70d..914e246a0d 100644 --- a/cpp/cmake/ThirdPartyPackages.cmake +++ b/cpp/cmake/ThirdPartyPackages.cmake @@ -1667,8 +1667,6 @@ macro(build_sqlite) "${SQLITE_STATIC_LIB}") ExternalProject_Create_Cache(sqlite_ep ${SQLITE_CACHE_PACKAGE_PATH} "${CMAKE_CURRENT_BINARY_DIR}/sqlite_ep-prefix" ${JFROG_USER_NAME} ${JFROG_PASSWORD} ${SQLITE_CACHE_URL}) - - file(MAKE_DIRECTORY "${SQLITE_INCLUDE_DIR}") else() ExternalProject_Use_Cache(sqlite_ep ${SQLITE_CACHE_PACKAGE_PATH} ${CMAKE_CURRENT_BINARY_DIR}) endif() @@ -1687,10 +1685,9 @@ macro(build_sqlite) 1 BUILD_BYPRODUCTS "${SQLITE_STATIC_LIB}") - - file(MAKE_DIRECTORY "${SQLITE_INCLUDE_DIR}") endif() + file(MAKE_DIRECTORY "${SQLITE_INCLUDE_DIR}") add_library(sqlite STATIC IMPORTED) set_target_properties( sqlite