mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
Android: Fix NDK r16b2 build
This commit is contained in:
parent
835eff15a1
commit
c2dcb97d06
@ -709,10 +709,12 @@ else()
|
|||||||
include_directories(Externals/SOIL)
|
include_directories(Externals/SOIL)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (NOT ANDROID)
|
||||||
find_library(ICONV_LIBRARIES NAMES iconv libiconv libiconv-2 c)
|
find_library(ICONV_LIBRARIES NAMES iconv libiconv libiconv-2 c)
|
||||||
find_path(ICONV_INCLUDE_DIR NAMES iconv.h)
|
find_path(ICONV_INCLUDE_DIR NAMES iconv.h)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (ICONV_LIBRARIES AND ICONV_INCLUDE_DIR)
|
if (NOT ANDROID AND ICONV_LIBRARIES AND ICONV_INCLUDE_DIR)
|
||||||
mark_as_advanced(ICONV_INCLUDE_DIR ICONV_LIBRARIES)
|
mark_as_advanced(ICONV_INCLUDE_DIR ICONV_LIBRARIES)
|
||||||
else()
|
else()
|
||||||
message(STATUS "Using static iconv from Externals")
|
message(STATUS "Using static iconv from Externals")
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if __has_include_next(<optional>)
|
#if __cplusplus >= 201703L && __has_include_next(<optional>)
|
||||||
#include_next <optional>
|
#include_next <optional>
|
||||||
#else
|
#else
|
||||||
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
|
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if __has_include_next(<variant>)
|
#if __cplusplus >= 201703L && __has_include_next(<variant>)
|
||||||
#include_next <variant>
|
#include_next <variant>
|
||||||
#else
|
#else
|
||||||
// MPark.Variant
|
// MPark.Variant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user