Permalink
Browse files

CMAKE: Fix csharp MSVC71

  • Loading branch information...
1 parent 42b48bc commit 67f48df483f1bf7875cc6ddcb1206ac8a00b576d @szekerest szekerest committed Apr 1, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 mapscript/csharp/CMakeLists.txt
@@ -10,11 +10,13 @@ ELSE (CSHARP_COMPILER)
ENDIF (CSHARP_COMPILER)
if (WIN32)
- if (CMAKE_CL_64)
+ if (NOT MSVC71)
+ if (CMAKE_CL_64)
set(PLATFORM_TARGET /platform:anycpu)
- else(CMAKE_CL_64)
+ else(CMAKE_CL_64)
set(PLATFORM_TARGET /platform:x86)
- endif(CMAKE_CL_64)
+ endif(CMAKE_CL_64)
+ endif (MSVC71)
if (MSVC10)
set(PLATFORM_TARGET ${PLATFORM_TARGET} /define:CLR4)
endif (MSVC10)

0 comments on commit 67f48df

Please sign in to comment.