mirror of
https://github.com/edubart/otclient.git
synced 2025-10-29 01:25:34 +01:00
bind new system information functions
This commit is contained in:
@@ -21,10 +21,6 @@ SET(CXX_WARNS "-Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-but-set-v
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_WARNS} -std=gnu++0x -pipe")
|
||||
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -ggdb")
|
||||
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O1 -ggdb")
|
||||
|
||||
# -ffast-math => has historical behaviour that may cause the app to work incorrectly or crash
|
||||
# -msse -msse2 -mfpmath=sse => I have experienced crashs with these optimizations on some windows machines
|
||||
#SET(CMAKE_CXX_FLAGS_RELEASE "-O3 -ffast-math -msse -msse2 -mfpmath=sse")
|
||||
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||
|
||||
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -static-libgcc -static-libstdc++ -Wl,--as-needed")
|
||||
|
||||
Reference in New Issue
Block a user