mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Merge pull request #94 from a16bitsysop/fat_runtime
change FAT_RUNTIME to a normal option so it can be set to off
This commit is contained in:
commit
edea9d12b1
@ -363,7 +363,8 @@ if (RELEASE_BUILD)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
option(FAT_RUNTIME "Build a library that supports multiple microarchitectures" ON)
|
||||||
|
if (CMAKE_SYSTEM_NAME MATCHES "Linux" AND FAT_RUNTIME MATCHES "ON")
|
||||||
# This is a Linux-only feature for now - requires platform support
|
# This is a Linux-only feature for now - requires platform support
|
||||||
# elsewhere
|
# elsewhere
|
||||||
message(STATUS "generator is ${CMAKE_GENERATOR}")
|
message(STATUS "generator is ${CMAKE_GENERATOR}")
|
||||||
@ -383,7 +384,9 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|||||||
set (FAT_RUNTIME_REQUISITES TRUE)
|
set (FAT_RUNTIME_REQUISITES TRUE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
CMAKE_DEPENDENT_OPTION(FAT_RUNTIME "Build a library that supports multiple microarchitectures" ${RELEASE_BUILD} "FAT_RUNTIME_REQUISITES" OFF)
|
if (NOT FAT_RUNTIME_REQUISITES OR NOT RELEASE_BUILD)
|
||||||
|
set (FAT_RUNTIME OFF)
|
||||||
|
endif()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
include (${CMAKE_MODULE_PATH}/arch.cmake)
|
include (${CMAKE_MODULE_PATH}/arch.cmake)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user