2022-04-16 12:36:53 +02:00
|
|
|
--- a/src/CMakeLists.txt 2022-02-14 16:50:27.000000000 +0000
|
|
|
|
+++ b/src/CMakeLists.txt 2022-04-17 10:11:34.852563956 +0000
|
|
|
|
@@ -14,13 +14,6 @@
|
2021-10-04 14:41:53 +02:00
|
|
|
#set (CMAKE_EXE_LINKER_FLAGS "/MANIFEST:NO")
|
|
|
|
|
|
|
|
set (CMAKE_CXX_FLAGS "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /bigobj")
|
|
|
|
-else ()
|
2022-04-16 12:36:53 +02:00
|
|
|
- set (CMAKE_CXX_FLAGS "-pthread")
|
2021-10-04 14:41:53 +02:00
|
|
|
- if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
|
|
- #static linkage
|
|
|
|
- #set (CMAKE_CXX_FLAGS "-static-libstdc++ -static-libgcc -pthread -s")
|
2022-04-16 12:36:53 +02:00
|
|
|
- #set (CMAKE_CXX_FLAGS "-pthread -s")
|
2021-10-04 14:41:53 +02:00
|
|
|
- endif ()
|
|
|
|
endif ()
|
|
|
|
|
2022-04-16 12:36:53 +02:00
|
|
|
if (DEMO)
|
|
|
|
@@ -31,4 +24,4 @@
|
|
|
|
|
2021-10-04 14:41:53 +02:00
|
|
|
if (NOT WIN32)
|
|
|
|
install (TARGETS vtm DESTINATION bin)
|
|
|
|
-endif ()
|
|
|
|
\ No newline at end of file
|
|
|
|
+endif ()
|