This is an automated email from the ASF dual-hosted git repository.
igodwin pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new b2a65c8 GEODE-4340: copy windows dlls correctly (#451)
b2a65c8 is described below
commit b2a65c8fb66523d966b5c942a7ad2e985c2a00de
Author: Blake Bender <[email protected]>
AuthorDate: Thu Feb 28 16:04:32 2019 -0800
GEODE-4340: copy windows dlls correctly (#451)
* GEODE-4340: Parameterize target name in copy step
- Add newline at EOF
Co-authored-by: Ivan Godwin <[email protected]>
---
examples/cpp/CMakeLists.txt.cpp_example.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/cpp/CMakeLists.txt.cpp_example.in
b/examples/cpp/CMakeLists.txt.cpp_example.in
index d45f969..e08c150 100644
--- a/examples/cpp/CMakeLists.txt.cpp_example.in
+++ b/examples/cpp/CMakeLists.txt.cpp_example.in
@@ -37,7 +37,7 @@ target_link_libraries(${PROJECT_NAME}
if(WIN32)
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
-
$<SHELL_PATH:$<TARGET_FILE_DIR:GeodeNative::cpp>/../bin/@[email protected]>
+
$<SHELL_PATH:$<TARGET_FILE_DIR:@PRODUCT_NAME_NOSPACE@::cpp>/../bin/@[email protected]>
$<SHELL_PATH:$<TARGET_FILE_DIR:${PROJECT_NAME}>>
)
-endif()
\ No newline at end of file
+endif()