libragephoto: set C standard by default to 99 and other changes

- CMakeLists.txt: set C standard by default to 99
- CMakeLists.txt: use generator expression for ICONV_LINKED
- RagePhotoConfig.h.in: update copyright year to 2025
- unicode.wasm: remove RAGEPHOTO_UNICODE_LIBS
- wasm.cmake: set C standard by default to 99
This commit is contained in:
Syping 2025-11-05 13:23:40 +01:00
parent f48bd286fe
commit c6de659a99
4 changed files with 11 additions and 13 deletions

View file

@ -1,6 +1,6 @@
#[[**************************************************************************
* libragephoto RAGE Photo Parser
* Copyright (C) 2023-2024 Syping
* Copyright (C) 2023-2025 Syping
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
@ -21,6 +21,8 @@ add_executable(ragephoto-wasm
${RAGEPHOTO_SOURCES}
)
set_target_properties(ragephoto-wasm PROPERTIES
C_STANDARD ${RAGEPHOTO_C_STANDARD}
C_STANDARD_REQUIRED ON
CXX_STANDARD ${RAGEPHOTO_CXX_STANDARD}
CXX_STANDARD_REQUIRED ON
PREFIX "lib"