Philippe BERNERY wrote:
> Andreas,
> 
> I saw that you changed the FindGLIB2.cmake module. There is a problem
> with it: it does not declares gmodule, gthread and libintl anymore which
> are needed to compile WengoPhone (especially gaim library). What do you
> think about reverting to the previous version?

The module should look like

find_path(GMODULE_INCLUDE_DIR ...)

find_library(GMODULE_LIBRARY ...)

find_library(GTHREAD_LIBRARY ...)

...

if(GMODULE_LIBRARY AND GMODULE_INCLUDE_DIR)
  set(GMODULE_FOUND TRUE)
endif(GMODULE_LIBRARY)

...

if(GMODULE_FOUND)
  set(GLIB_LIBRARIES ${GLIB_LIBRARIES} ${GMODULE_LIBRARY})
  set(GMODULE_INCLUDE_DIRS ${GMODULE_INCLUDE_DIRS} ${GMODULE_INCLUDE_DIR})
endif(GMODULE_FOUND)

...

That's the style a FindPackage.cmake file should look like now. The
problem is, that the most are bad hacks and should be fixed in CMake.

On my TODO list is Boost and GTK2.

-----

So in CMake you can check for it.

if(GMODULE_FOUND)

So please implement it in the new GLIB2 Module.
        
        -- andreas

> 
> 
> --
> Philippe BERNERY <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>
> http://dev.openwengo.org
> 
> 
> 

-- 
http://www.cynapses.org/ - cybernetic synapses


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to