[gnome-builder] cmake: remove duplicated conditional



commit d0798bfd51deda39830241ff4918f66a59e2fe96
Author: Matthew Krupcale <mkrupcale matthewkrupcale com>
Date:   Mon Sep 24 22:17:41 2018 -0400

    cmake: remove duplicated conditional

 src/plugins/cmake/gbp-cmake-build-stage-cross-file.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/plugins/cmake/gbp-cmake-build-stage-cross-file.c 
b/src/plugins/cmake/gbp-cmake-build-stage-cross-file.c
index db7193cee..1c545e671 100644
--- a/src/plugins/cmake/gbp-cmake-build-stage-cross-file.c
+++ b/src/plugins/cmake/gbp-cmake-build-stage-cross-file.c
@@ -99,8 +99,6 @@ add_lang_executable (const gchar *lang,
     _gbp_cmake_file_set_quoted (content, "VALA_EXECUTABLE", path);
   else if (g_strcmp0 (lang, IDE_TOOLCHAIN_LANGUAGE_FORTRAN) == 0)
     _gbp_cmake_file_set_quoted (content, "CMAKE_Fortran_COMPILER", path);
-  else if (g_strcmp0 (lang, IDE_TOOLCHAIN_LANGUAGE_FORTRAN) == 0)
-    _gbp_cmake_file_set_quoted (content, "CMAKE_Fortran_COMPILER", path);
   else if (g_strcmp0 (lang, IDE_TOOLCHAIN_LANGUAGE_D) == 0)
     _gbp_cmake_file_set_quoted (content, "CMAKE_D_COMPILER", path);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]