blob: 8019f7d4230702e0737e71c1dffdaeba25f9ec18 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
https://github.com/apache/incubator-mxnet/pull/17645
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 437d01668..1049a53b2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -662,7 +662,7 @@ add_subdirectory("3rdparty/mshadow")
set(MXNET_INSTALL_TARGETS mxnet)
if(UNIX)
- string(APPEND CMAKE_CUDA_FLAGS "${CUDA_ARCH_FLAGS_SPACES}")
+ string(APPEND CMAKE_CUDA_FLAGS " ${CUDA_ARCH_FLAGS_SPACES}")
# Create dummy file since we want an empty shared library before linking
set(DUMMY_SOURCE ${CMAKE_BINARY_DIR}/dummy.c)
file(WRITE ${DUMMY_SOURCE} "")
|