mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 11:17:46 +00:00
turn on optimisation for release builds on linux
This commit is contained in:
parent
75e9571c8f
commit
4fb118ab16
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
|
||||
if( UNIX )
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -fPIC" )
|
||||
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3")
|
||||
else()
|
||||
add_definitions( -D_WIN32_WINNT=0x601 )
|
||||
add_definitions( -D_CRT_SECURE_NO_WARNINGS )
|
||||
|
|
Loading…
Add table
Reference in a new issue