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()
|
endif()
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-Os")
|
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)
|
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.")
|
message(WARNING "A ${CMAKE_CXX_COMPILER_ID} compiler version of preferably 11 or higher should be used.")
|
||||||
endif()
|
endif()
|
||||||
|
@ -51,7 +51,7 @@ elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL Clang)
|
||||||
set(CMAKE_CXX_FLAGS "-fwhole-program-vtables ${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "-fwhole-program-vtables ${CMAKE_CXX_FLAGS}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MINGW OR MSVC)
|
if (MINGW OR MSVC)
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
SET(CMAKE_RC_COMPILE_OBJECT
|
SET(CMAKE_RC_COMPILE_OBJECT
|
||||||
"<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
|
"<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
|
||||||
|
|
Loading…
Reference in New Issue