forked from bartvdbraak/blender
throw an error is PREFIX isnt defined on X11 systems. defaults to /usr/local
This commit is contained in:
parent
6ee21ceefb
commit
7e913f25c2
@ -21,6 +21,8 @@ if window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'fr
|
||||
sources.remove('intern' + os.sep + f + 'Carbon.cpp')
|
||||
except ValueError:
|
||||
pass
|
||||
defs += ['PREFIX=\\"/usr/local/\\"']
|
||||
|
||||
elif window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):
|
||||
for f in pf:
|
||||
try:
|
||||
|
@ -68,7 +68,7 @@
|
||||
#include <cstdlib> // for exit
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX "/usr/local"
|
||||
#error "PREFIX not defined"
|
||||
#endif
|
||||
|
||||
typedef struct NDOFPlatformInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user