Fixed quotes
authorhristov <Peter.Hristov@cern.ch>
Fri, 24 Oct 2014 15:42:42 +0000 (17:42 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:51 +0000 (13:51 +0100)
LHAPDF/CMakeLists.txt

index 91aca72..0ae3ed4 100644 (file)
@@ -105,7 +105,7 @@ generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}
 add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx ${CSRCS} ${FSRCS})
 
 # Additional compilation flags
-set(CMAKE_C_FLAGS  ${CMAKE_C_FLAGS} "-ansi")
+set(CMAKE_C_FLAGS  "${CMAKE_C_FLAGS} -ansi")
 set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g" Fortran_FORMAT FREE )
 add_definitions(-DDEFAULTPREFIXPATH="NONE"  -DDEFAULTLHAPATH="${CMAKE_SOURCE_DIR}/LHAPDF/PDFsets")