Skip to content

Commit

Permalink
removed BUILD_TESTS option, now use BUILD_TESTING, like other NCEPLIBS
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Oct 4, 2023
1 parent 2672f7e commit 5dd85fa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ project(
option(ENABLE_DOCS "Enable generation of doxygen-based documentation." OFF)
option(ENABLE_PYTHON "Enable building python module 'ncepbufr'" OFF)
option(BUILD_SHARED_LIBS "Enable building shared libraries" OFF)
option(BUILD_TESTS "Build tests" ON)

# Developers can use this option to specify a local directory which
# holds the test files. They will be copied instead of fetching the
Expand Down Expand Up @@ -114,8 +113,10 @@ endif()

add_subdirectory(tables)

if(BUILD_TESTS)
add_subdirectory(test)
# Turn on unit testing.
include(CTest)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()

# Generate doxygen documentation if desired.
Expand Down

0 comments on commit 5dd85fa

Please sign in to comment.