mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Juceaide: Only suppress compiler environment variables when cross compiling
This commit is contained in:
parent
e730962921
commit
aaf68f58f5
1 changed files with 5 additions and 3 deletions
|
|
@ -53,9 +53,11 @@ else()
|
|||
# environment variables, which is unfortunate because we really don't want to cross-compile
|
||||
# juceaide. If you really want to set the compilers for juceaide, pass the appropriate
|
||||
# CMAKE_<lang>_COMPILER flags when configuring CMake.
|
||||
unset(ENV{ASM})
|
||||
unset(ENV{CC})
|
||||
unset(ENV{CXX})
|
||||
if((CMAKE_SYSTEM_NAME STREQUAL "Android") OR (CMAKE_SYSTEM_NAME STREQUAL "iOS"))
|
||||
unset(ENV{ASM})
|
||||
unset(ENV{CC})
|
||||
unset(ENV{CXX})
|
||||
endif()
|
||||
|
||||
message(STATUS "Configuring juceaide")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue