mirror of
https://git.tukaani.org/xz.git
synced 2025-02-26 02:18:13 +00:00
CMake: Move option(XZ_ASM_I386) downwards a few lines
This commit is contained in:
parent
e5c2b07b48
commit
dbc14f213e
@ -175,14 +175,6 @@ endif()
|
|||||||
# to C99 if C11 isn't supported.
|
# to C99 if C11 isn't supported.
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
|
||||||
# Support 32-bit x86 assembly files.
|
|
||||||
if(NOT MSVC)
|
|
||||||
option(XZ_ASM_I386 "Enable 32-bit x86 assembly code" OFF)
|
|
||||||
if(XZ_ASM_I386)
|
|
||||||
enable_language(ASM)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# On Apple OSes, don't build executables as bundles:
|
# On Apple OSes, don't build executables as bundles:
|
||||||
set(CMAKE_MACOSX_BUNDLE OFF)
|
set(CMAKE_MACOSX_BUNDLE OFF)
|
||||||
|
|
||||||
@ -249,6 +241,14 @@ add_compile_definitions(
|
|||||||
$<$<CONFIG:>:NDEBUG>
|
$<$<CONFIG:>:NDEBUG>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Support 32-bit x86 assembly files.
|
||||||
|
if(NOT MSVC)
|
||||||
|
option(XZ_ASM_I386 "Enable 32-bit x86 assembly code" OFF)
|
||||||
|
if(XZ_ASM_I386)
|
||||||
|
enable_language(ASM)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# System definitions #
|
# System definitions #
|
||||||
|
Loading…
x
Reference in New Issue
Block a user