Changeset 6 in pacpusframework


Ignore:
Timestamp:
01/05/13 20:38:27 (12 years ago)
Author:
sgosseli
Message:

Use elseif in PacpusUtilities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusUtilities.cmake

    r3 r6  
    8888  # By default, unknown
    8989  set(${output} "unknown")
    90   # MSVC9 == 2008
    9190  if (MSVC9)
    9291    set(${output} "msvc2008")
    93   endif()
    94   # MSVC10 == 2010
    95   if (MSVC10)
     92  elseif (MSVC10)
    9693    set(${output} "msvc2010")
    97   endif()
    98   # MSVC11 == "2012"
    99   if (MSVC11)
     94  else (MSVC11)
    10095    set(${output} "msvc2012")
    10196  endif()
Note: See TracChangeset for help on using the changeset viewer.