Skip to content

Commit

Permalink
ExternalProject_Add target collision.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberunner23 committed Jun 16, 2016
1 parent 6894f52 commit b0bf705
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ foreach(build_config_type @HUNTER_PACKAGE_CONFIGURATION_TYPES@)
hunter_user_error("libsodium: Invalid build configuration type provided. Valid values are: \"Release\", \"Debug\", \"Release\;Debug\" (HUNTER_PACKAGE_CONFIGURATION_TYPES)")
endif()

hunter_autotools_project("@HUNTER_EP_NAME@"
hunter_autotools_project("@HUNTER_EP_NAME@${build_config_type}"
HUNTER_SELF
"@HUNTER_SELF@"
URL
Expand Down Expand Up @@ -85,7 +85,7 @@ foreach(build_config_type @HUNTER_PACKAGE_CONFIGURATION_TYPES@)
set(lib_suffix "r")
endif()

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

0 comments on commit b0bf705

Please sign in to comment.