From 850313a2042dc62338ac1bba1071fc935e3792d0 Mon Sep 17 00:00:00 2001 From: Andre Brisco Date: Wed, 7 Oct 2020 18:51:20 -0700 Subject: [PATCH] Fixed CMake warnings --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ff16e2..d1e4562 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ message("Initial CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") if( NOT CMAKE_BUILD_TYPE ) set( CMAKE_BUILD_TYPE Release ) -endif( NOT CMAKE_BUILD_TYPE ) +endif() message( ${PROJECT_NAME} " build type: " ${CMAKE_BUILD_TYPE} ) @@ -17,7 +17,7 @@ if (BUILD_X64) message("Building 64-bit") else() message("Building 32-bit") -endif(BUILD_X64) +endif() if (NOT MSVC) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g") @@ -42,7 +42,7 @@ if (NOT MSVC) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCC_LINK_FLAGS} -static-libgcc -static-libstdc++ -static") else() set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${GCC_LINK_FLAGS} -Wl,-rpath .") - endif(STATIC) + endif() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GCC_COMPILE_FLAGS}") set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${GCC_COMPILE_FLAGS}") @@ -102,4 +102,4 @@ if (NOT EMSCRIPTEN) endif() endif() endif() -endif() \ No newline at end of file +endif()