Merge pull request #44 from realm/tg/core-tarball-path

Fix dependency information for the core tarball
This commit is contained in:
Thomas Goyne 2016-02-19 09:42:31 -08:00
commit 52386c08e6
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,7 @@ function(download_realm_core core_version)
add_custom_command(
COMMENT "Extracting ${core_tarball_name}"
OUTPUT ${core_libraries}
DEPENDS ${core_temp_tarball}
COMMAND ${CMAKE_COMMAND} -E copy ${core_temp_tarball} ${core_directory_parent}
DEPENDS ${core_tarball}
COMMAND ${CMAKE_COMMAND} -E tar xf ${core_tarball}
COMMAND ${CMAKE_COMMAND} -E remove_directory ${core_directory}
COMMAND ${CMAKE_COMMAND} -E rename core ${core_directory}