Skip to content
Snippets Groups Projects
Commit de93dc9e authored by Julien Michel's avatar Julien Michel
Browse files

BUG: CMake cache variable must be unset before compile check, otherwise it...

BUG: CMake cache variable must be unset before compile check, otherwise it does not get updated in subsequent configuration steps (fix bugs #1376)
parent 82c7c205
Branches
Tags
No related merge requests found
......@@ -22,6 +22,8 @@ include(CheckCXXSourceCompiles)
set(CMAKE_REQUIRED_FLAGS ${CMAKE_CXX_FLAGS})
unset(OTB_HAS_CXX11 CACHE)
CHECK_CXX_SOURCE_COMPILES("
#ifdef _MSC_VER
#if _MSC_VER <= 1700
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment