Fix glibc wraps in Linux build.
This commit is contained in:
parent
8cb036c5c3
commit
458fec9499
2 changed files with 1 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ elseif (APPLE)
|
||||||
report_bad_special_target()
|
report_bad_special_target()
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
set(LINUX 1)
|
||||||
if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux"
|
if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux"
|
||||||
AND NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux32")
|
AND NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux32")
|
||||||
report_bad_special_target()
|
report_bad_special_target()
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ elseif (APPLE)
|
||||||
set(build_macstore 1)
|
set(build_macstore 1)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(LINUX 1)
|
|
||||||
execute_process(COMMAND uname -m OUTPUT_VARIABLE machine_uname)
|
execute_process(COMMAND uname -m OUTPUT_VARIABLE machine_uname)
|
||||||
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||||
set(build_linux32 1)
|
set(build_linux32 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue