Commit b62df54c authored by Bernard van Gastel's avatar Bernard van Gastel
Browse files

Compile fix for Android.

parent ac0fe3a3
......@@ -6,11 +6,7 @@ if (APPLE)
endif()
project (pep LANGUAGES C CXX)
set(CMAKE_C_STANDARD 11)
if (CMAKE_SYSTEM_NAME MATCHES "Android")
set(CMAKE_CXX_STANDARD 17)
else()
set(CMAKE_CXX_STANDARD 20)
endif()
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
......
// Author: Bernard van Gastel
#include "core.h"
#include <stdexcept>
using namespace pep;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment