Fix warnings
This commit is contained in:
Родитель
0eb4fe3065
Коммит
b30bad1419
|
@ -19,9 +19,10 @@ SET_OUTPUT_DIRECTORY(${CMAKE_BINARY_DIR})
|
|||
DOTNET_REGISTER_LOCAL_REPOSITORY("Graph Engine OSS Local" "${CMAKE_BINARY_DIR}")
|
||||
|
||||
IF(WIN32)
|
||||
ADD_COMPILE_OPTIONS(/volatile:iso /EHsc /fp:except- /Zi /Gy /W3 /nologo /MP)
|
||||
ADD_COMPILE_OPTIONS(/volatile:iso /EHsc /fp:except- /Zi /Gy /W3 /nologo /MP /utf-8)
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEBUG:FULL")
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG:FULL")
|
||||
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
|
||||
ELSEIF(UNIX)
|
||||
ADD_COMPILE_OPTIONS(-fpermissive -Wall -Wno-write-strings -Wno-unknown-pragmas -pthread)
|
||||
ELSE()
|
||||
|
|
Загрузка…
Ссылка в новой задаче