You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ns...@apache.org on 2018/01/25 18:24:55 UTC
[incubator-mxnet] branch master updated: Fix non-MSVC build problem
(#9564)
This is an automated email from the ASF dual-hosted git repository.
nswamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 542c3d7 Fix non-MSVC build problem (#9564)
542c3d7 is described below
commit 542c3d769dfcec6b4c9a40aa6aef9a01bbc89376
Author: Chris Olivier <cj...@gmail.com>
AuthorDate: Thu Jan 25 10:24:50 2018 -0800
Fix non-MSVC build problem (#9564)
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 60857bf..14b40e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -535,7 +535,7 @@ else()
endif()
if(USE_CUDA)
- if(FIRST_CUDA)
+ if(FIRST_CUDA AND MSVC)
target_compile_options(mxnet PUBLIC "$<$<CONFIG:DEBUG>:-Xcompiler=-MTd>")
target_compile_options(mxnet PUBLIC "$<$<CONFIG:RELEASE>:-Xcompiler=-MT>")
endif()
--
To stop receiving notification emails like this one, please contact
nswamy@apache.org.