[Cmake] FindwxWindows

Mathieu Malaterre Mathieu . Malaterre at creatis . insa-lyon . fr
Tue, 09 Sep 2003 12:44:21 +0200


Hi all,

	I finally manage to solve those problems:

http://www . cmake . org/pipermail/cmake/2003-May/001706 . html
and
http://www . vtk . org/pipermail/vtkusers/2003-June/018730 . html


	I need to explicitely add 'WXUSINGDLL=1' in VC+6 preprocessor option. 
As I have been told that ADD_DEFINITION in FindwxWindows.cmake is not a 
good way to deal with those kind of thing. I wanted to know what other 
way I can follow.

	I found the solution to my problem here:
http://lists . wxwindows . org/archive/wx-users/msg19018 . html
	wxWindows do *really* need this definitions if link with shared lib 
(static are -almost- ok with current FindwxWindows.cmake).

Thanks for your suggestions,
mathieu

-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www . creatis . insa-lyon . fr/~malaterre/