diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ec1f627e..06f3517b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -224,6 +224,8 @@ include_directories(${PROJECT_BINARY_DIR}/src/Include) add_definitions(-DHAVE_CONFIG_H) +check_function_exists(mkfifo HAVE_MKFIFO) + # configure a header file to pass some of the CMake settings # to the source code configure_file ( diff --git a/src/Include/config_cmake.h.in b/src/Include/config_cmake.h.in index 047717038..721253db8 100644 --- a/src/Include/config_cmake.h.in +++ b/src/Include/config_cmake.h.in @@ -19,6 +19,7 @@ #cmakedefine HAVE_SYS_TIME_H #cmakedefine HAVE_WINDOWS_H #cmakedefine HAVE_CULLSETTINGS_CLEAR_MASK +#cmakedefine HAVE_MKFIFO #define VERSION "@FLIGHTGEAR_VERSION@"