[Bf-committers] Cmake Errors
Konrad Kleine
kokleine at googlemail.com
Sun Jan 1 21:43:17 CET 2012
Hi Kel,
I confirm this error. I've added the author of the related commits in
CC, hopefully he can fix it:
http://lists.blender.org/pipermail/bf-committers/2011-December/034716.html
http://lists.blender.org/pipermail/bf-blender-cvs/2012-January/042269.html
It seems that this call
ADD_CHECK_C_COMPILER_FLAG(CC_REMOVE_STRICT_FLAGS
C_WARN_NO_UNUSED_BUT_SET_VARIABLE )
is missing a third argument since the macro definition is this:
macro(ADD_CHECK_C_COMPILER_FLAG
_CFLAGS
_CACHE_VAR
_FLAG)
include(CheckCCompilerFlag)
CHECK_C_COMPILER_FLAG("${_FLAG}" "${_CACHE_VAR}")
if(${_CACHE_VAR})
# message(STATUS "Using CFLAG: ${_FLAG}")
set(${_CFLAGS} "${${_CFLAGS}} ${_FLAG}")
else()
message(STATUS "Unsupported CFLAG: ${_FLAG}")
endif()
endmacro()
Happy New Year!
- Konrad
2012/1/1 Kel M <kelvinshrek at gmail.com>:
> Hi, blender building with Cmake is no longer working:
>
> CMake Error at CMakeLists.txt:1413 (ADD_CHECK_C_COMPILER_FLAG):
> ADD_CHECK_C_COMPILER_FLAG Macro invoked with incorrect arguments for macro
> named: ADD_CHECK_C_COMPILER_FLAG
>
>
> -- Blender Skipping: (bf_collada;extern_openjpeg;extern_redcode)
> -- Configuring incomplete, errors occurred!
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list