bug : os.isfile is not correct : os.path.isfile is correct ^^
This commit is contained in:
parent
c42c79a190
commit
f56b102584
|
@ -180,7 +180,7 @@ class ProjectBuilder:
|
||||||
os.chdir ( toolBuildDir )
|
os.chdir ( toolBuildDir )
|
||||||
if self._noCache:
|
if self._noCache:
|
||||||
cmakeCache = os.path.join(toolBuildDir,"CMakeCache.txt")
|
cmakeCache = os.path.join(toolBuildDir,"CMakeCache.txt")
|
||||||
if os.isfile ( cmakeCache ): os.unlink ( cmakeCache )
|
if os.path.isfile ( cmakeCache ): os.unlink ( cmakeCache )
|
||||||
|
|
||||||
command = ["cmake", "-D", "CMAKE_BUILD_TYPE:STRING=%s" % self._buildMode
|
command = ["cmake", "-D", "CMAKE_BUILD_TYPE:STRING=%s" % self._buildMode
|
||||||
, "-D", "BUILD_SHARED_LIBS:STRING=%s" % self._enableShared
|
, "-D", "BUILD_SHARED_LIBS:STRING=%s" % self._enableShared
|
||||||
|
|
Loading…
Reference in New Issue