Commit dac22227 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not pass CMake extra generator to autotools projects.

parent 51339c08
......@@ -133,14 +133,8 @@ function(linphone_builder_get_autotools_configuration)
set(_generator "MinGW Makefiles")
else()
set(_generator "${CMAKE_GENERATOR}")
if(CMAKE_EXTRA_GENERATOR)
set(_extra_generator "${CMAKE_EXTRA_GENERATOR}")
endif()
endif()
set(_autotools_command ${CMAKE_COMMAND} -G "${_generator}")
if(_extra_generator)
list(APPEND _autotools_command -T "${_extra_generator}")
endif()
if(CMAKE_TOOLCHAIN_FILE)
list(APPEND _autotools_command "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment