[OSX] Fixed undefined symbol when linking CMakeLib into shared library
This commit is contained in:
parent
ac2979e4b3
commit
a90d47890f
|
@ -104,6 +104,9 @@ public:
|
||||||
private:
|
private:
|
||||||
HANDLE handle_;
|
HANDLE handle_;
|
||||||
};
|
};
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
#include <crt_externs.h>
|
||||||
|
#define environ (*_NSGetEnviron())
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool cmSystemTools::s_RunCommandHideConsole = false;
|
bool cmSystemTools::s_RunCommandHideConsole = false;
|
||||||
|
|
Loading…
Reference in New Issue