diff --git a/cmake/externals/GifCreator/CMakeLists.txt b/cmake/externals/GifCreator/CMakeLists.txt index bacfefd48b..a6ddb390e8 100644 --- a/cmake/externals/GifCreator/CMakeLists.txt +++ b/cmake/externals/GifCreator/CMakeLists.txt @@ -9,6 +9,7 @@ ExternalProject_Add( BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) # Hide this external target (for ide users) diff --git a/cmake/externals/LibOVR/CMakeLists.txt b/cmake/externals/LibOVR/CMakeLists.txt index 872d0e5fef..51a85f0117 100644 --- a/cmake/externals/LibOVR/CMakeLists.txt +++ b/cmake/externals/LibOVR/CMakeLists.txt @@ -22,6 +22,7 @@ if (WIN32) CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= PATCH_COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/LibOVRCMakeLists.txt" /CMakeLists.txt LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) @@ -44,6 +45,7 @@ elseif(APPLE) BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) diff --git a/cmake/externals/LibOVRPlatform/CMakeLists.txt b/cmake/externals/LibOVRPlatform/CMakeLists.txt index 40e6ae123c..492827210a 100644 --- a/cmake/externals/LibOVRPlatform/CMakeLists.txt +++ b/cmake/externals/LibOVRPlatform/CMakeLists.txt @@ -15,6 +15,7 @@ if (WIN32) BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) diff --git a/cmake/externals/crashpad/CMakeLists.txt b/cmake/externals/crashpad/CMakeLists.txt index ae6972cab1..c174022aa3 100644 --- a/cmake/externals/crashpad/CMakeLists.txt +++ b/cmake/externals/crashpad/CMakeLists.txt @@ -12,6 +12,7 @@ if (WIN32) BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) @@ -31,6 +32,7 @@ elseif (APPLE) BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) @@ -50,6 +52,7 @@ elseif (UNIX) BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) diff --git a/cmake/externals/neuron/CMakeLists.txt b/cmake/externals/neuron/CMakeLists.txt index 45b18f86cd..051b6214cc 100644 --- a/cmake/externals/neuron/CMakeLists.txt +++ b/cmake/externals/neuron/CMakeLists.txt @@ -7,13 +7,16 @@ string(TOUPPER ${EXTERNAL_NAME} EXTERNAL_NAME_UPPER) set(NEURON_URL "${EXTERNAL_BUILD_ASSETS}/dependencies/neuron_datareader_b.12.2.zip") set(NEURON_URL_MD5 "84273ad2200bf86a9279d1f412a822ca") -ExternalProject_Add(${EXTERNAL_NAME} - URL ${NEURON_URL} - URL_MD5 ${NEURON_URL_MD5} - CONFIGURE_COMMAND "" - BUILD_COMMAND "" - INSTALL_COMMAND "" - LOG_DOWNLOAD 1) +ExternalProject_Add( + ${EXTERNAL_NAME} + URL ${NEURON_URL} + URL_MD5 ${NEURON_URL_MD5} + CONFIGURE_COMMAND "" + BUILD_COMMAND "" + INSTALL_COMMAND "" + LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 +) ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) diff --git a/cmake/externals/serverless-content/CMakeLists.txt b/cmake/externals/serverless-content/CMakeLists.txt index 8bb49f0973..f512ae59a8 100644 --- a/cmake/externals/serverless-content/CMakeLists.txt +++ b/cmake/externals/serverless-content/CMakeLists.txt @@ -10,6 +10,7 @@ ExternalProject_Add( BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) # Hide this external target (for IDE users) diff --git a/cmake/externals/sixense/CMakeLists.txt b/cmake/externals/sixense/CMakeLists.txt index c2fb8ad8f9..8dc0107cc8 100644 --- a/cmake/externals/sixense/CMakeLists.txt +++ b/cmake/externals/sixense/CMakeLists.txt @@ -24,6 +24,7 @@ ExternalProject_Add( BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) set_target_properties(${EXTERNAL_NAME} PROPERTIES FOLDER "hidden/externals") diff --git a/cmake/externals/steamworks/CMakeLists.txt b/cmake/externals/steamworks/CMakeLists.txt index f418b82ab5..47e5029206 100644 --- a/cmake/externals/steamworks/CMakeLists.txt +++ b/cmake/externals/steamworks/CMakeLists.txt @@ -15,6 +15,7 @@ ExternalProject_Add( BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) set_target_properties(${EXTERNAL_NAME} PROPERTIES FOLDER "hidden/externals") diff --git a/cmake/externals/tbb/CMakeLists.txt b/cmake/externals/tbb/CMakeLists.txt index 8f8f2d3030..8d98b0b40e 100644 --- a/cmake/externals/tbb/CMakeLists.txt +++ b/cmake/externals/tbb/CMakeLists.txt @@ -21,6 +21,7 @@ ExternalProject_Add( CONFIGURE_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD ON + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) # Hide this external target (for ide users) diff --git a/cmake/externals/wasapi/CMakeLists.txt b/cmake/externals/wasapi/CMakeLists.txt index bc8148c278..9f552c56b8 100644 --- a/cmake/externals/wasapi/CMakeLists.txt +++ b/cmake/externals/wasapi/CMakeLists.txt @@ -12,13 +12,14 @@ if (WIN32) BUILD_COMMAND "" INSTALL_COMMAND "" LOG_DOWNLOAD 1 + DOWNLOAD_EXTRACT_TIMESTAMP 1 ) - + # Hide this external target (for ide users) set_target_properties(${EXTERNAL_NAME} PROPERTIES FOLDER "hidden/externals") - + ExternalProject_Get_Property(${EXTERNAL_NAME} SOURCE_DIR) - + set(${EXTERNAL_NAME_UPPER}_DLL_PATH ${SOURCE_DIR} CACHE FILEPATH "Location of wasapi DLL") endif()