mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
Revert "[Chore] (...): Cmake option MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING."
This reverts commit 0b262d4f3a.
This commit is contained in:
@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.22.1)
|
||||
project("MobileGL")
|
||||
|
||||
option(MOBILEGL_FORCE_RELEASE_OPT "Enable Release optimization flags in Debug build" ON)
|
||||
option(MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING "Force skip loading external libraries" OFF)
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR MOBILEGL_FORCE_RELEASE_OPT)
|
||||
include(CheckIPOSupported)
|
||||
@@ -22,11 +21,6 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR MOBILEGL_FORCE_RELEASE_OPT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING)
|
||||
message(STATUS "MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING enabled")
|
||||
add_compile_definitions(MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING)
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||
add_compile_options(/Zc:preprocessor)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user