mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
CMake: Windows: Fix architecture detection for projects using add_subdirectory(JUCE...
This commit is contained in:
parent
2d6bb5ba0e
commit
ed80adb3c7
1 changed files with 5 additions and 2 deletions
|
|
@ -80,10 +80,13 @@ if((CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
|||
OR (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "AMD64"
|
||||
AND NOT (JUCE_TARGET_ARCHITECTURE STREQUAL "i386"
|
||||
OR JUCE_TARGET_ARCHITECTURE STREQUAL "x86_64")))
|
||||
set(JUCE_WINDOWS_HELPERS_CAN_RUN FALSE)
|
||||
set(windows_helpers_can_run FALSE)
|
||||
else()
|
||||
set(JUCE_WINDOWS_HELPERS_CAN_RUN TRUE)
|
||||
set(windows_helpers_can_run TRUE)
|
||||
endif()
|
||||
|
||||
set(JUCE_WINDOWS_HELPERS_CAN_RUN ${windows_helpers_can_run}
|
||||
CACHE INTERNAL "Signals whether plugin related helper utilities can run on the build machine")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue