Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
iMSTK
iMSTK
Commits
78441a0c
Commit
78441a0c
authored
Sep 21, 2016
by
Alexis Girault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: copy & remove ftd2xx.lib instead of rename
parent
ef0c44d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
CMake/External/External_FTD2XX.cmake
CMake/External/External_FTD2XX.cmake
+7
-3
No files found.
CMake/External/External_FTD2XX.cmake
View file @
78441a0c
...
...
@@ -23,11 +23,14 @@ set(copy_ftd2xx_shared_command
${
FTD2XX_EXTRACT_DIR
}
/
${
ftd2xx_libdir
}
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
/
${
CMAKE_CFG_INTDIR
}
)
set
(
copy_ftd2xx_static_command
${
CMAKE_COMMAND
}
-E rename
${
CMAKE_COMMAND
}
-E copy
${
FTD2XX_EXTRACT_DIR
}
/
${
ftd2xx_libdir
}
/ftd2xx.lib
${
CMAKE_LIBRARY_OUTPUT_DIRECTORY
}
/
${
CMAKE_CFG_INTDIR
}
)
set
(
remove_ftd2xx_static_command
${
CMAKE_COMMAND
}
-E remove
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
/
${
CMAKE_CFG_INTDIR
}
/ftd2xx.lib
${
CMAKE_LIBRARY_OUTPUT_DIRECTORY
}
/
${
CMAKE_CFG_INTDIR
}
/ftd2xx.lib
)
#-----------------------------------------------------------------------------
...
...
@@ -46,6 +49,7 @@ imstk_add_external_project( FTD2XX
INSTALL_COMMAND
${
copy_ftd2xx_shared_command
}
COMMAND
${
copy_ftd2xx_static_command
}
COMMAND
${
remove_ftd2xx_static_command
}
RELATIVE_INCLUDE_PATH
"/"
#VERBOSE
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment