Tweaking build settings for visual studio

release/4.3a0
Richard Roberts 2012-05-24 20:11:38 +00:00
parent e943ecfcdf
commit d945dd8b6a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ include(GtsamTesting)
include(GtsamPrinting)
# guard against in-source builds
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} AND NOT MSVC)
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there. You may need to remove CMakeCache.txt. ")
endif()