mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 17:16:15 +00:00
Fix dlllist.cmake not to use hard coded path to link.txt
The utility could be used for other targets, path should therefore depend on the inputted target parameter Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
This commit is contained in:
parent
7b08f8d23c
commit
e418bb7e28
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ message(STATUS "addpath is ${ADDPATH}")
|
|||
# first space) -- this will fail if the full path for the
|
||||
# linker used contains a space...
|
||||
execute_process(
|
||||
COMMAND tail -1 CMakeFiles/subsurface.dir/link.txt
|
||||
COMMAND tail -1 CMakeFiles/${SUBSURFACE_TARGET}.dir/link.txt
|
||||
COMMAND cut -d\ -f 2-
|
||||
OUTPUT_VARIABLE LINKER_LINE
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
|
Loading…
Add table
Reference in a new issue