Skip to content

Commit

Permalink
fix incorrect filename warning
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Feb 21, 2022
1 parent 55ad184 commit 3f4decb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
set (tests_exclude "")

if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") # might not be best test - Richard & Jason & Frank
# clang linker segfaults on large testSerializationSLAM
list (APPEND tests_exclude "testSerializationSLAM.cpp")
# clang linker segfaults on large testSerializationSlam
list (APPEND tests_exclude "testSerializationSlam.cpp")
endif()

# Build tests
gtsamAddTestsGlob(tests "test*.cpp" "${tests_exclude}" "gtsam")

if(MSVC)
set_property(SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/testSerializationSLAM.cpp"
set_property(SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/testSerializationSlam.cpp"
APPEND PROPERTY COMPILE_FLAGS "/bigobj")
endif()

0 comments on commit 3f4decb

Please sign in to comment.