mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-02-23 17:29:31 +01:00

Also revert the changes to ccmake.sh, the restriction doesn't apply to it. Suggested-by: Matt McCormick <matt.mccormick@kitware.com>
8 lines
272 B
Bash
Executable File
8 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Always pass the CMAKE_TOOLCHAIN_FILE variable to CMake when inside a
|
|
# dockcross environment -- the CMAKE_TOOLCHAIN_FILE environmental variable is
|
|
# always set in this context
|
|
|
|
exec /usr/bin/ccmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE} "$@"
|