Browse Source

Merge topic 'FindwxWidget/fix-eating-minusL-in-path'

67db3ff9 Fix eating "-L" in path names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1775
pull/320/head
Brad King 8 years ago
committed by Kitware Robot
parent
commit
fcae625f48
  1. 2
      Modules/FindwxWidgets.cmake

2
Modules/FindwxWidgets.cmake

@ -837,7 +837,7 @@ else()
# extract linkdirs (-L) for rpath (i.e., LINK_DIRECTORIES)
string(REGEX MATCHALL "-L[^;]+"
wxWidgets_LIBRARY_DIRS "${wxWidgets_LIBRARIES}")
string(REPLACE "-L" ""
string(REGEX REPLACE "-L([^;]+)" "\\1"
wxWidgets_LIBRARY_DIRS "${wxWidgets_LIBRARY_DIRS}")
DBG_MSG_V("wxWidgets_LIBRARIES=${wxWidgets_LIBRARIES}")

Loading…
Cancel
Save