mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
[OSX] Fixed undefined symbol when linking CMakeLib into shared library
This commit is contained in:
1 parent
ac2979e4b3
commit
a90d47890f
1 file changed
+3
@@ -104,6 +104,9 @@ public:
|
||||
private:
|
||||
HANDLE handle_;
|
||||
};
|
||||
#elif defined(__APPLE__)
|
||||
#include <crt_externs.h>
|
||||
#define environ (*_NSGetEnviron())
|
||||
#endif
|
||||
|
||||
bool cmSystemTools::s_RunCommandHideConsole = false;
|
||||
|
||||
Reference in new issue
Block a user