Little refactoring
This commit is contained in:
parent
cdd527f3ac
commit
b68c6b6807
2 changed files with 11 additions and 15 deletions
|
@ -11,6 +11,8 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.17)
|
|||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
# For a some reason cmake do not applying GNU_SOURCE/BSD_SOURCE flags on Android platform.
|
||||
# We have to do this manually for building of libssh.
|
||||
add_definitions(-D_BSD_SOURCE)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue