Change all C to C++ outside of TNG
[alexxy/gromacs.git] / cmake / gmxTestPipes.cmake
index 5ac14cda520a212e8fc2605d9ab7e3c6b5f344f6..292d997588a5f7e49aa57667a1fb25d696e628a5 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2009,2014, by the GROMACS development team, led by
+# Copyright (c) 2009,2014,2019, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -46,7 +46,7 @@ MACRO(GMX_TEST_PIPES VARIABLE)
         MESSAGE(STATUS "Checking for pipe support")
 
         TRY_COMPILE(HAVE_PIPES "${CMAKE_BINARY_DIR}"
-                    "${CMAKE_SOURCE_DIR}/cmake/TestPipes.c")
+                    "${CMAKE_SOURCE_DIR}/cmake/TestPipes.cpp")
 
     ENDIF()
 ENDMACRO(GMX_TEST_PIPES VARIABLE)