Add a few indentation spaces in the CMakeLists.txt file.
This commit is contained in:
parent
cdb9446820
commit
a4e42f752f
|
@ -30,7 +30,7 @@ if (NOT MSVC)
|
|||
endif()
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-Os")
|
||||
|
||||
if((${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) OR (${CMAKE_CXX_COMPILER_ID} STREQUAL Clang))
|
||||
if ((${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) OR (${CMAKE_CXX_COMPILER_ID} STREQUAL Clang))
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0)
|
||||
message(WARNING "A ${CMAKE_CXX_COMPILER_ID} compiler version of preferably 11 or higher should be used.")
|
||||
endif()
|
||||
|
@ -51,7 +51,7 @@ elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL Clang)
|
|||
set(CMAKE_CXX_FLAGS "-fwhole-program-vtables ${CMAKE_CXX_FLAGS}")
|
||||
endif()
|
||||
|
||||
if(MINGW OR MSVC)
|
||||
if (MINGW OR MSVC)
|
||||
if (UNIX)
|
||||
SET(CMAKE_RC_COMPILE_OBJECT
|
||||
"<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
|
||||
|
|
Loading…
Reference in New Issue