mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
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
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user