1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-07 08:02:55 +03:00

Fixed setting of LFS CFLAGS.

This commit is contained in:
Andreas Schneider
2009-10-02 20:19:48 +02:00
parent 566fda70a5
commit e78334688f

View File

@@ -46,8 +46,10 @@ if (UNIX AND NOT WIN32)
OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_STRIP_TRAILING_WHITESPACE
) )
endif (CMAKE_SIZEOF_VOID_P MATCHES "8") endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
if (_lfs_CFLAGS)
string(REGEX REPLACE "[\r\n]" " " "${_lfs_CFLAGS}" "${${_lfs_CFLAGS}}") string(REGEX REPLACE "[\r\n]" " " "${_lfs_CFLAGS}" "${${_lfs_CFLAGS}}")
add_definitions(${_lfs_CFLAGS}) add_definitions(${_lfs_CFLAGS})
endif (_lfs_CFLAGS)
endif (UNIX AND NOT WIN32) endif (UNIX AND NOT WIN32)