aboutsummaryrefslogtreecommitdiff
path: root/cmake/ProjSystemInfo.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/ProjSystemInfo.cmake')
-rw-r--r--cmake/ProjSystemInfo.cmake18
1 files changed, 10 insertions, 8 deletions
diff --git a/cmake/ProjSystemInfo.cmake b/cmake/ProjSystemInfo.cmake
index 18a80fa7..4265bacf 100644
--- a/cmake/ProjSystemInfo.cmake
+++ b/cmake/ProjSystemInfo.cmake
@@ -56,18 +56,18 @@ if(WIN32)
if(MSVC_VERSION GREATER 1900 AND MSVC_VERSION LESS 1920) # CMake 3.8+
set(PROJ_COMPILER_NAME "msvc-14.1") #Visual Studio 2017
endif()
- endif(MSVC)
-
+ endif()
+
if(MINGW)
set(PROJ_COMPILER_NAME "mingw-${GCC_VERSION}")
- endif( MINGW )
-
+ endif()
+
if(CMAKE_GENERATOR MATCHES "Win64")
set(PROJ_PLATFORM_NAME "x64")
else()
set(PROJ_PLATFORM_NAME "win32")
endif()
-endif(WIN32)
+endif() # WIN32
if(UNIX)
set(PROJ_COMPILER_NAME "gcc-${GCC_VERSION}")
@@ -76,14 +76,16 @@ if(UNIX)
else()
set(PROJ_PLATFORM_NAME "x86")
endif()
-endif(UNIX)
+endif()
if(NOT PROJ_COMPILER_NAME)
colormsg(_RED_ "WARNING:")
- colormsg(RED "Could not determine compiler toolset name to set PROJ_COMPILER_NAME variable.")
+ colormsg(RED "Could not determine compiler toolset name to set \
+PROJ_COMPILER_NAME variable.")
endif()
if(NOT PROJ_COMPILER_NAME)
colormsg(_RED_ "WARNING:")
- colormsg(RED "Could not determine platform name to set PROJ_COMPILER_NAME variable.")
+ colormsg(RED "Could not determine platform name to set \
+PROJ_COMPILER_NAME variable.")
endif()