From efd4353d524c09ac90ea0710ee755f01ef32d6d8 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 2 Nov 2014 21:31:08 +0100 Subject: [PATCH] Remove ";" in the list of flags to the C compiler, since it prevents compilation using Macports --- src/core/libs/supl/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/libs/supl/CMakeLists.txt b/src/core/libs/supl/CMakeLists.txt index 1eb842123..c9192543d 100644 --- a/src/core/libs/supl/CMakeLists.txt +++ b/src/core/libs/supl/CMakeLists.txt @@ -1,11 +1,11 @@ -# Copyright (C) 2012-2013 (see AUTHORS file for a list of contributors) +# Copyright (C) 2012-2014 (see AUTHORS file for a list of contributors) # # This file is part of GNSS-SDR. # # GNSS-SDR is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or -# at your option) any later version. +# (at your option) any later version. # # GNSS-SDR is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -35,7 +35,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang") set(MY_C_FLAGS "${MY_C_FLAGS} -Wno-parentheses-equality") endif(CMAKE_BUILD_TYPE MATCHES "Release") endif(CMAKE_C_COMPILER_ID MATCHES "Clang") -list(APPEND CMAKE_C_FLAGS ${MY_C_FLAGS}) +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${MY_C_FLAGS}") add_library (supl_library STATIC ${ASN_RRLP_SOURCES} ${ASN_SUPL_SOURCES} ${SUPL_SOURCES}) target_link_libraries (supl_library ssl gnss_system_parameters)