Skip to content

Commit

Permalink
Declared tests as EXCLUDE_FROM_ALL for build with cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
vissarion committed Aug 10, 2024
1 parent 6b76894 commit 7fa4bf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
endif()

enable_testing()
add_subdirectory(test)
add_subdirectory(test EXCLUDE_FROM_ALL)

endif()

1 change: 0 additions & 1 deletion test/policies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

foreach(item IN ITEMS
compare
rescale_policy
)
boost_geometry_add_unit_test("policies" ${item})
endforeach()

0 comments on commit 7fa4bf7

Please sign in to comment.