Index: MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt +++ MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt @@ -4,6 +4,8 @@ set(PARALLEL_DIRS) set(LEVEL ../../../..) +include(CheckFunctionExists) +check_function_exists(re_comp HAVE_RE_COMP) if(DEFINED HAVE_RE_COMP) set(PROG archie) endif() Index: MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt =================================================================== --- MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt +++ MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt @@ -4,6 +4,8 @@ set(PARALLEL_DIRS) set(LEVEL ../../../..) +include(CheckFunctionExists) +check_function_exists(re_comp HAVE_RE_COMP) if(DEFINED HAVE_RE_COMP) set(PROG plot2fig) endif()