diff --git a/development/cmake/ConfigureChecks.cmake b/development/cmake/ConfigureChecks.cmake index e666a7f461..289bccddfa 100644 --- a/development/cmake/ConfigureChecks.cmake +++ b/development/cmake/ConfigureChecks.cmake @@ -55,6 +55,7 @@ check_function_exists(gettext HAVE_GETTEXT) check_function_exists(_getpid HAVE__GETPID) check_function_exists(mkdir HAVE_MKDIR) check_function_exists(_mkdir HAVE__MKDIR) +check_function_exists(setenv HAVE_SETENV) check_function_exists(putenv HAVE_PUTENV) check_function_exists(fcntl HAVE_FCNTL) check_function_exists(strerror HAVE_STRERROR) diff --git a/development/cmake/configCompiler.h.cmake b/development/cmake/configCompiler.h.cmake index 67b7744929..a35f5b3137 100644 --- a/development/cmake/configCompiler.h.cmake +++ b/development/cmake/configCompiler.h.cmake @@ -45,6 +45,7 @@ #cmakedefine HAVE_MKDIR 1 #cmakedefine HAVE__MKDIR 1 #cmakedefine HAVE_PUTENV 1 +#cmakedefine HAVE_SETENV 1 #cmakedefine HAVE_STRERROR 1 #cmakedefine HAVE_STD_COUNT 1 #cmakedefine HAVE_ASPRINTF 1 diff --git a/development/cmake/configCompiler.h.msvc b/development/cmake/configCompiler.h.msvc index fe08ab939c..5f72f2190d 100644 --- a/development/cmake/configCompiler.h.msvc +++ b/development/cmake/configCompiler.h.msvc @@ -45,6 +45,7 @@ #define HAVE__GETPID 1 #define HAVE_MKDIR 1 #define HAVE__MKDIR 1 +#define HAVE_SETENV 1 #define HAVE_PUTENV 1 #define HAVE_MKTEMP 1 /* #undef HAVE_MKSTEMP 1 */