Changed library name for MSVC++
authorkhizmax <khizmax@gmail.com>
Wed, 13 Sep 2017 05:39:56 +0000 (08:39 +0300)
committerkhizmax <khizmax@gmail.com>
Wed, 13 Sep 2017 05:39:56 +0000 (08:39 +0300)
cds/details/lib.h

index 6f96b3e..404084c 100644 (file)
@@ -42,7 +42,9 @@
 #   define  CDS_LIB_DEBUG_SUFFIX ""
 #endif
 
-#pragma comment( lib, "libcds-" CDS_PROCESSOR__NICK CDS_LIB_DEBUG_SUFFIX )
+#if CDS_COMPILER == CDS_COMPILER_MSVC || CDS_COMPILER == CDS_COMPILER_INTEL
+#   pragma comment( lib, "libcds-" CDS_PROCESSOR__NICK CDS_LIB_DEBUG_SUFFIX )
+#endif
 
 #undef CDS_LIB_DEBUG_SUFFIX