From 23c6f07f14784da908e55c9c587b52cfd32c8a4e Mon Sep 17 00:00:00 2001 From: Aurelien Larcher Date: Tue, 10 Feb 2015 15:53:10 +0000 Subject: [PATCH] Add quotes to string options in cmake.mk --- make-rules/cmake.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/make-rules/cmake.mk b/make-rules/cmake.mk index 78504879d..ab34bd6cc 100644 --- a/make-rules/cmake.mk +++ b/make-rules/cmake.mk @@ -89,12 +89,12 @@ CMAKE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" CMAKE_DEFAULT_DIRS?=yes -CMAKE_OPTIONS += -DCMAKE_C_COMPILER:STRING=$(CC) -CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER:STRING=$(CXX) -CMAKE_OPTIONS += -DCMAKE_Fortran_COMPILER:STRING=$(FC) -CMAKE_OPTIONS += -DCMAKE_C_FLAGS:STRING=$(CFLAGS) -CMAKE_OPTIONS += -DCMAKE_CXX_FLAGS:STRING=$(CXXFLAGS) -CMAKE_OPTIONS += -DCMAKE_Fortran_FLAGS:STRING=$(FCFLAGS) +CMAKE_OPTIONS += -DCMAKE_C_COMPILER:STRING="$(CC)" +CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER:STRING="$(CXX)" +CMAKE_OPTIONS += -DCMAKE_Fortran_COMPILER:STRING="$(FC)" +CMAKE_OPTIONS += -DCMAKE_C_FLAGS:STRING="$(CFLAGS)" +CMAKE_OPTIONS += -DCMAKE_CXX_FLAGS:STRING="$(CXXFLAGS)" +CMAKE_OPTIONS += -DCMAKE_Fortran_FLAGS:STRING="$(FCFLAGS)" CMAKE_OPTIONS += LDFLAGS="$(LDFLAGS)" CMAKE_OPTIONS += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" -- 2.11.4.GIT