Fixed: Disable STLport by default when using a recent version of VC++
This commit is contained in:
parent
444bdeceb6
commit
68a7fe8c8b
1 changed files with 4 additions and 3 deletions
|
@ -246,11 +246,12 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
|
||||||
###
|
###
|
||||||
OPTION(WITH_SYMBOLS "Keep debug symbols in binaries" OFF)
|
OPTION(WITH_SYMBOLS "Keep debug symbols in binaries" OFF)
|
||||||
|
|
||||||
IF(WIN32)
|
# only enable STLport for VC++ 2010 and less
|
||||||
|
IF(WIN32 AND MSVC_VERSION LESS 1600)
|
||||||
OPTION(WITH_STLPORT "With STLport support." ON )
|
OPTION(WITH_STLPORT "With STLport support." ON )
|
||||||
ELSE(WIN32)
|
ELSE()
|
||||||
OPTION(WITH_STLPORT "With STLport support." OFF)
|
OPTION(WITH_STLPORT "With STLport support." OFF)
|
||||||
ENDIF(WIN32)
|
ENDIF()
|
||||||
|
|
||||||
OPTION(BUILD_DASHBOARD "Build to the CDash dashboard" OFF)
|
OPTION(BUILD_DASHBOARD "Build to the CDash dashboard" OFF)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue