mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
cmake error
This commit is contained in:
parent
319bcdab2f
commit
eac261b153
@ -5,7 +5,8 @@ add_compile_definitions(__IPC_LIBRARY__)
|
|||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_compile_options("/std:c++17")
|
add_compile_options("/std:c++17")
|
||||||
else()
|
else()
|
||||||
add_compile_options("-std=gnu++1z -O2")
|
add_compile_options("-std=gnu++1z")
|
||||||
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories("../include")
|
include_directories("../include")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user