1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +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
)
endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
string(REGEX REPLACE "[\r\n]" " " "${_lfs_CFLAGS}" "${${_lfs_CFLAGS}}")
add_definitions(${_lfs_CFLAGS})
if (_lfs_CFLAGS)
string(REGEX REPLACE "[\r\n]" " " "${_lfs_CFLAGS}" "${${_lfs_CFLAGS}}")
add_definitions(${_lfs_CFLAGS})
endif (_lfs_CFLAGS)
endif (UNIX AND NOT WIN32)