From 093d25f3cd8ecf37a71eb2a1d95801e91926ac52 Mon Sep 17 00:00:00 2001 From: nqdu Date: Mon, 30 Sep 2024 12:57:50 -0400 Subject: [PATCH] fix regex redundancy in cmake --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b6733f0..9203d7e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,6 @@ file(GLOB SOURCE "*.cpp" "*.f90") -list(FILTER SOURCE EXCLUDE REGEX "main*") +list(FILTER SOURCE EXCLUDE REGEX "main_*.cpp") #message("myfile = ${SOURCE}")