mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-22 03:51:21 +00:00
- use static runtimes on Linux and MinGW
This commit is contained in:
parent
c1bcbd47bf
commit
04e1768597
2 changed files with 8 additions and 2 deletions
|
@ -16,6 +16,12 @@ if(MSVC)
|
|||
endforeach()
|
||||
endif()
|
||||
|
||||
if (NOT APPLE AND NOT MSVC)
|
||||
# use static runtimes on Linux and MinGW
|
||||
set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES} -static -static-libgcc -static-libstdc++")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static -static-libgcc -static-libstdc++")
|
||||
endif()
|
||||
|
||||
add_executable(acc
|
||||
acc.c
|
||||
error.c
|
||||
|
|
4
acc.c
4
acc.c
|
@ -22,8 +22,8 @@
|
|||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
#define VERSION_TEXT "1.58"
|
||||
#define COPYRIGHT_YEARS_TEXT "1995"
|
||||
#define VERSION_TEXT "1.59"
|
||||
#define COPYRIGHT_YEARS_TEXT "1995-2022"
|
||||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue