This commit is contained in:
Radovan Bast 2015-06-28 15:30:23 +02:00
parent e59a042490
commit 36ab8c14a7

View File

@ -81,6 +81,8 @@ def gen_cmake_command(config):
for section in config.sections():
if config.has_option(section, 'export'):
for env in config.get(section, 'export').split('\n'):
# FIXME there may be no win32 check in this file
# win32 platform dependency has to be dealt with in setup.py
if sys.platform == 'win32':
# on windows we have to replace:
# CC=gcc CXX=g++ cmake [definitions] ..