If unix
This commit is contained in:
parent
cd7f5d9bde
commit
697612b4cc
@ -54,7 +54,7 @@ endif ()
|
||||
if (NOT(PROC_TARGET_NUMBER EQUAL 0))
|
||||
set (PROC_FLAGS ${PROC_TARGET_${PROC_TARGET_NUMBER}_FLAGS})
|
||||
endif ()
|
||||
if (PROC_LABEL STREQUAL "undefined")
|
||||
if (UNIX AND PROC_LABEL STREQUAL "undefined")
|
||||
execute_process(COMMAND uname -p OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE cpu)
|
||||
if ("${cpu}" STREQUAL "unknown")
|
||||
set(PROC_LABEL "${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user