Commit 9324fc31 authored by Ghislain MARY's avatar Ghislain MARY

Prevent giving useless ENABLE_RELATIVE_PREFIX option to CMake on Windows.

parent 6ec0428e
...@@ -198,8 +198,9 @@ def main(argv=None): ...@@ -198,8 +198,9 @@ def main(argv=None):
"-DENABLE_SILK=YES"] "-DENABLE_SILK=YES"]
if args.package: if args.package:
additional_args += ["-DENABLE_PACKAGING=YES", additional_args += ["-DENABLE_PACKAGING=YES"]
"-DENABLE_RELATIVE_PREFIX=YES"] if platform.system() != 'Windows':
additional_args += ["-DENABLE_RELATIVE_PREFIX=YES"] # Already forced in all cases on Windows platform
if check_tools() != 0: if check_tools() != 0:
return 1 return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment