Skip to content

Commit

Permalink
Merge pull request #66 from laristra/target_link
Browse files Browse the repository at this point in the history
improved interface to cinch_target_link_libraries
  • Loading branch information
charest authored May 8, 2017
2 parents 24e2599 + 5010a21 commit a457085
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ endfunction(cinch_add_library_target)
# Link libraries to a target
#

function(cinch_target_link_libraries target libraries)
function(cinch_target_link_libraries target)

string(REPLACE ";" "|" libraries_ "${libraries}")
string(REPLACE ";" "|" libraries_ "${ARGN}")

message(STATUS
"Linking target ${target} with libraries ${libraries}")
"Linking target ${target} with libraries ${ARGN}")

list(APPEND CINCH_TARGET_LIBRARIES "${target}:${libraries_}")
set(CINCH_TARGET_LIBRARIES ${CINCH_TARGET_LIBRARIES} PARENT_SCOPE)
Expand Down

0 comments on commit a457085

Please sign in to comment.