1
0
Fork 0

Fix glibc wraps in Linux build.

This commit is contained in:
John Preston 2020-01-17 20:21:17 +03:00
parent 8cb036c5c3
commit 458fec9499
2 changed files with 1 additions and 1 deletions

View file

@ -30,6 +30,7 @@ elseif (APPLE)
report_bad_special_target()
endif()
else()
set(LINUX 1)
if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux"
AND NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "linux32")
report_bad_special_target()

View file

@ -46,7 +46,6 @@ elseif (APPLE)
set(build_macstore 1)
endif()
else()
set(LINUX 1)
execute_process(COMMAND uname -m OUTPUT_VARIABLE machine_uname)
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
set(build_linux32 1)