Skip to content

Commit

Permalink
Should fix autotools library rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberunner23 committed Jun 16, 2016
1 parent 455d748 commit 450b2c9
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,12 @@ foreach(build_config_type @HUNTER_PACKAGE_CONFIGURATION_TYPES@)
set(lib_suffix "r")
endif()

execute_process(
COMMAND
${CMAKE_COMMAND} -E rename ${lib_file} @HUNTER_PACKAGE_INSTALL_PREFIX@/lib/libsodium${lib_suffix}.${lib_extension}
DEPENDS
@HUNTER_EP_NAME@
ExternalProject_Add_Step("@HUNTER_EP_NAME@"
DEPENDEES install
COMMAND ${CMAKE_COMMAND} -E rename ${lib_file} @HUNTER_PACKAGE_INSTALL_PREFIX@/lib/libsodium${lib_suffix}.${lib_extension}
)


# Install target file
# Required: Build configuration, lib file name, BUILD_SHARED_LIBS
string(TOUPPER ${build_config_type} TARGET_CONFIGURATION)
Expand Down

0 comments on commit 450b2c9

Please sign in to comment.