We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ebfc1 commit ee8c419Copy full SHA for ee8c419
source/CMakeLists.txt
@@ -1,6 +1,8 @@
1
cmake_minimum_required(VERSION 3.7)
2
project(DeePMD)
3
-set(CMAKE_LINK_WHAT_YOU_USE TRUE)
+if (CMAKE_COMPILER_IS_GNU)
4
+ set(CMAKE_LINK_WHAT_YOU_USE TRUE)
5
+endif ()
6
7
# build cpp or python interfaces
8
if (NOT DEFINED BUILD_CPP_IF)
0 commit comments