I got the problem
DefineInstallationPaths.cmake - Has following code
if (LINUX)
message(if Linux)
set(DATA_COPY_DIR ${BUILD_DIR}
CACHE PATH "Data/resources (sounds, translations...)
copy path")
set(DATA_INSTALL_DIR "/usr/share/wengophone"
CACHE PATH "Data/resources (sounds, translations...)
installation path")
set(APPLICATION_BIN_INSTALL_DIR "/usr/bin"
CACHE PATH "Application binary installation path")
set(LIBRARIES_INSTALL_DIR "/usr/lib/wengophone"
CACHE PATH "Libraries installation path")
endif (UNIX AND NOT APPLE)
Whereas the endif should be "endif (LINUX)"
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Jaya Meghani
> Sent: Wednesday, January 24, 2007 10:24 AM
> To: [email protected]
> Subject: [Wengophone-devel] Cmake 2.1 error - Unmatched if
>
> Hi,
>
> Windows XP,VS 2005, CMake 2.4
>
> Command used:
>
> C:\Wengo\Wengo2.1\build>build_nmake.bat release
> QT_QMAKE_EXECUTABLE=C:\Qt\4.1.2\bin\qmake.exe
>
>
> I get the following error:
>
> C:\Wengo\Wengo2.1\build>cmake .. -DCMAKE_VERBOSE_MAKEFILE=1
> -G "NMake Makefiles"
>
> -- Check for CL compiler version
> -- Check for CL compiler version - 1400
> -- Check if this is a free VC compiler
> -- Check if this is a free VC compiler - no
> -- Check CL platform
> -- Check CL platform - 32 bit
> -- Check for working C compiler: C:/Program Files/Microsoft
> Visual Studio 8/VC/b in/cl.exe
> -- Check for working C compiler: C:/Program Files/Microsoft
> Visual Studio 8/VC/b in/cl.exe -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: C:/Program Files/Microsoft
> Visual Studio 8/VC /bin/cl.exe
> -- Check for working CXX compiler: C:/Program Files/Microsoft
> Visual Studio 8/VC /bin/cl.exe -- works
> -- OS: Windows-5.1
> -- Processor: x86
> -- Compiler: C:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe
> -- Build type: Debug
> -- Build tool: nmake
> -- Build directory: C:/Wengo/Wengo2.1/build/debug
> -- svn revision: 9374
> The end of a CMakeLists file was reached with an IF statement
> that was not close d properly.
> Within the directory: C:/Wengo/Wengo2.1
> The arguments are: LINUX
> The end of a CMakeLists file was reached with an IF statement
> that was not close d properly.
> Within the directory: C:/Wengo/Wengo2.1
> The arguments are: LINUX
> -- Configuring done
> -- Generating done
> -- Build files have been written to: C:/Wengo/Wengo2.1/build
>
> ***********************
>
> I am using Windows so why "The arguments are: LINUX"
> Also getting an unmatched if!!
> Can any one please help with this.
>
> Thanks
> _______________________________________________
> Wengophone-devel mailing list
> [email protected]
> http://dev.openwengo.com/mailman/listinfo/wengophone-devel
>
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel