ufz / ogs5

OpenGeoSys THM/C simulator version 5
https://www.opengeosys.org/ogs-5
Other
39 stars 97 forks source link

Corrected MSVC condition in cmake for msvc 2010 #88

Closed wenqing closed 6 years ago

wenqing commented 6 years ago

as titled. For msvc 2010, if (COMPILER_IS_MSVC), which is set by checking CMAKE_C_COMPILER_ID, does not work.

bilke commented 6 years ago

I think it is enough to check for MSVC.

wenqing commented 6 years ago

@bilke Thanks. Changed accordingly.