Skip to content

Commit

Permalink
CMake: Include CTest
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-griesbach committed Jan 25, 2024
1 parent cc03d9c commit 271183c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include (CTest)

target_sources(p4est PRIVATE p4est_base.c p4est_connectivity.c p4est.c p4est_bits.c p4est_search.c p4est_build.c
p4est_algorithms.c p4est_communication.c p4est_ghost.c p4est_nodes.c p4est_points.c p4est_geometry.c p4est_iterate.c
p4est_lnodes.c p4est_mesh.c p4est_balance.c p4est_io.c p4est_connrefine.c
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include(CTest)

if(P4EST_HAVE_STDLIB_H)
check_symbol_exists(random stdlib.h P4EST_HAVE_RANDOM)
check_symbol_exists(srandom stdlib.h P4EST_HAVE_SRANDOM)
Expand Down

0 comments on commit 271183c

Please sign in to comment.