mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-13 22:51:31 +01:00
4876f14356
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} "$@"
|