[rappture] fix wasm build by setting explicitly to build library with c++11 standard (#27735)

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2022-11-10 17:55:02 +01:00 committed by GitHub
parent 8999d3a266
commit 0b1a04a5fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 10 deletions

View File

@ -80,23 +80,25 @@ set(HEADERS
add_library(rappture ${SRC_RAPPTURE_CORE} ${HEADERS})
target_include_directories(rappture PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/core/>
set_property(TARGET rappture PROPERTY CXX_STANDARD 11)
target_include_directories(rappture PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/core/>
$<INSTALL_INTERFACE:include>
)
find_package(expat CONFIG REQUIRED)
find_package(ZLIB REQUIRED)
target_compile_definitions(rappture PUBLIC
-D_CRT_SECURE_NO_WARNINGS
-DRAPPTURE_VERSION=1.9
-DSVN_VERSION=6713
target_compile_definitions(rappture PUBLIC
-D_CRT_SECURE_NO_WARNINGS
-DRAPPTURE_VERSION=1.9
-DSVN_VERSION=6713
-D_USE_MATH_DEFINES
)
target_link_libraries(rappture PRIVATE
expat::expat
target_link_libraries(rappture PRIVATE
expat::expat
ZLIB::ZLIB
)

View File

@ -1,8 +1,9 @@
{
"name": "rappture",
"version": "1.9",
"port-version": 1,
"port-version": 2,
"description": "Rappture is a toolkit supporting Rapid application infrastructure, making it quick and easy to develop powerful scientific applications.",
"license": null,
"dependencies": [
"expat",
{

View File

@ -6458,7 +6458,7 @@
},
"rappture": {
"baseline": "1.9",
"port-version": 1
"port-version": 2
},
"raylib": {
"baseline": "4.2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8a477ff69e89f147d8d51545dce1eaf309401bc2",
"version": "1.9",
"port-version": 2
},
{
"git-tree": "46511874b74e433c10e518d592ae43a475bb7aaf",
"version": "1.9",